673 Commits (a27609172684e05fe3a7e6e6443bcb846283153a)
 

Author SHA1 Message Date
Sayan Nandan a276091726 Account for perl errors 3 years ago
Sayan Nandan 5f75df7109 Add some optimizations for unicode checks 3 years ago
Sayan Nandan ead3f62ded Add failure cases for unicode 3 years ago
Sayan Nandan bdfaf6ec4d Ensure that perl doesn't error 3 years ago
Sayan Nandan 5e4cd5be4b Use deterministic finite automaton for validation
A dual stream approach provides even more speed improvements
3 years ago
Sayan Nandan 8cfab3f7d3 Add convenience macros 3 years ago
Sayan Nandan efec980fa6 Add basic `BufferBlockReader` definition 3 years ago
Sayan Nandan bdc4b3483f Add basic `KVEngine` definition 3 years ago
Sayan Nandan 581e8e2c78 Fix bundling for `CARGO_TARGET_DIR` setups 3 years ago
Sayan Nandan 6283cc9b37 Add auto-builds on M1
Support `CARGO_TARGET_DIR` in Makefile
3 years ago
Sayan 552d454940
Enable TLS port to be configured via CLI args (#186)
* Enable TLS port to be configured via CLI

* Add changelog entry
3 years ago
Sayan Nandan 9ff5ece6c4 Fix CI script (M1) 3 years ago
Sayan Nandan 141e39eee1 Use env var to determine TLS cert location 3 years ago
Sayan Nandan bca37ede43 Fix bug that allowed empty queries to crash skysh 3 years ago
Sayan d43e6f41da
Use `QuickLock` instead of mutex (#185)
* Use our own lock instead of parking_lot::Mutex

* Account for spurious failures in cmpxchg weak

* Ignore send error because parent may have panicked

The parent thread may have already panicked, dropping the rx.
3 years ago
Sayan Nandan 3a363d18cb Simplify artwork [skip ci] 3 years ago
Sayan bae2b8354c
Release v0.6.3 (#184)
* Bump up version to 0.6.3

* Update changelog entry
3 years ago
Sayan 6995dfe359
Remove artifact script [skip ci]
The makefile does all of this for us now
3 years ago
Sayan Nandan d826acf0c1 Copy TLS cert within script 3 years ago
Sayan 2d7b9d7667
Add automated tests for TLS (#183)
* Auto start with TLS

* Add automated tests for SSL

* Add cert generation script

* Use script to generate SSL cert
3 years ago
Sayan 864c6d461f
Enable maximum connections to be configured manually (#182)
* Enable maximum connections to be configured

* Add arbiter for handling server startup

* Add handling of maxcon for command-line args

* Add changelog entry
3 years ago
Sayan ea1871747d
Re-add TLS (#181)
* Re-add TLS

When we moved to use the Skytable client driver, we missed out TLS
support. This was re-added.

* Fix attempt to rm PID file if it doesn't exist

* Fix sequence of `inner_repl` and `inner_eval`
3 years ago
Sayan Nandan 79f657b462 Add more LLVM specific optimizations
Just to reduce LLVM bloat
3 years ago
Sayan e30d51a599
Release v0.6.2 (#180)
* Bump up version and add changelog entry

* Use separate cache object for release workflows
3 years ago
Sayan Nandan 0f06f7b26f Add some LLVM specific optims for O1 builds 3 years ago
Sayan Nandan aaa84b150e Fix release script
Use hub to upload release assets
3 years ago
Sayan 3f0fc340c7
Add automated builds for ARM (#179)
* Move arm64 tests into test workflow

* Archive artifacts for arm64

* Fix missing target

* Add upload assets step

* Simplify packaging

* Use caching on ARM runners and remove is_md_file

Since GH now supports `skip ci`, we don't need this anymore

* Save artifacts for ARM64

* Simplify hashing condition

* Fix caching condition

* Use IPv6 for wget

* Don't use https for wget

* Add automatic release for ARM64
3 years ago
Sayan d53a0cb505
Fix handling of SIGTERM on *nix (#178)
* Fix handling of SIGTERM on *nix

This is just for future extensibility

* Fix error codes

I have been silly enough to break error codes
3 years ago
Sayan Nandan 5be3041138 Fix 0 being accepted as a valid value in sky-bench
All inputs are expected to be non-zero
3 years ago
Sayan 66e5d41302
Simplify overall locks (#176)
* Remove the need for TableLockStateGuard

The htable impl uses locks under the hood making external locks
redundant.

* Use atomics instead of rwlock for poisoned state

* Simplify snapshot locking
3 years ago
Sayan Nandan 2a2addfa6d Upgrade deps and add changelog entries 3 years ago
Glydr a4f6905e3a
Merge pull request #175 from skytable/tests/stress
Add stress testing and ARM builds
3 years ago
Sayan Nandan 71de7b7cca Only run stress test when asked for
If any user needs a stress test, they just need to pass [stress-ci] in
their commit message.
3 years ago
Sayan Nandan f9f49aee0b Use num_cpus to get number of cores 3 years ago
Sayan Nandan 4bd717b899 Autorun stress tests on push 3 years ago
Sayan Nandan bc8934e6ba Add tests for ARM64 3 years ago
Sayan Nandan ee04d89b0f Add pipeline script 3 years ago
Sayan Nandan 5b48aba345 Add linearity meter 3 years ago
Sayan Nandan 0f1264d312 Decompose linearity tests and utils into modules
Also fixed license headers
3 years ago
Sayan Nandan eb9053ce50 Only refresh specific sys data 3 years ago
Sayan Nandan 87c673e468 Establish connection before bombarding 3 years ago
Sayan Nandan b7229ca55d Use parallel iterators wherever possible 3 years ago
Sayan Nandan c83481cf36 Add linearity tests for GET 3 years ago
Sayan Nandan 5f00b2ddf2 Fix key generation and avoid using mutex
Keys can't repeat, so put them in a set. Also, don't use a mutex as it
only slows down things
3 years ago
Sayan Nandan d39f2dcda5 Add stress testing for `set` queries 3 years ago
Sayan Nandan f416c7f50c Document libstress 3 years ago
Sayan Nandan 5c10584351 Add auto-drop method to `Workpool`
This avoids the need for us to manually drop something to ensure that
all the workers have exited.
3 years ago
Sayan Nandan 9ea48363c2 Fix iterator pool init
The pool was being re-initialized on clone which caused a runtime panic.
To avoid complicating matters, we'll just ignore the result.
3 years ago
Sayan Nandan a7c0af01d4 Add support for parallel iterators in `libstress` 3 years ago
Sayan Nandan 1b8fda51fc Use parallel iterators for benches 3 years ago