Sayan Nandan
c45bfd03c8
Fix critical bug in flush routine
...
When a new instance is created, we need to:
1. Create the tree
This ONLY creates the directories
2. Create the PRELOAD
This is critical because this is our check for a new instance
3. Flush the tables
This is important because we have never flushed the tables/ks before.
If we don't do this -- the server would fail to start with a
`directory not found` error.
3 years ago
Sayan Nandan
5e9c806193
Fix doc rebuild workflow
3 years ago
Sayan Nandan
18e8f74f0a
Add new actiondoc
...
Also moved actiondoc rebuild to separate workflow
3 years ago
Sayan Nandan
3bd34ae5c9
Merge branch 'model/tsymbol' into next
3 years ago
Sayan Nandan
d7ac4ebe56
Fix inspect tests
3 years ago
Sayan Nandan
e91b070216
Add printing for flat arrays in skysh
3 years ago
Sayan Nandan
a24e03da60
Use `TypedArray`s in inspect commands
3 years ago
Sayan Nandan
313a7c1279
Improve runner output
3 years ago
Sayan Nandan
113af87f11
Fix sky-bench
3 years ago
Sayan
596b593526
Fix detection of invalid container name ( #207 )
...
* Fix parser allowing `$` in container name
* Fix query engine tests
3 years ago
Sayan Nandan
95504a8be6
Fix `FlatArrayWriter` impl and `mpop` tests
...
Update driver version
3 years ago
Sayan Nandan
2ed3335a1e
Upgrade all interfaces to use the latest driver
...
Fix lskeys impl
3 years ago
Sayan Nandan
e389ee7860
Simplify encoding checks across actions
...
Checking all encoding errors beforehand simplifies a lot of things for
us. At the same time, this saves a lot of bandwidth as we don't have to
write encoding errors for each element -- instead we just write one.
3 years ago
Sayan Nandan
3a6c48727b
Upgrade all actions to use typed arrays
3 years ago
Sayan Nandan
f7d64689a6
Use `TypedArrayWriter` for typed Skyhash arrays
3 years ago
Sayan Nandan
0ee25814ea
Enable colored output on CI
...
This greatly improves readability of the otherwise dull logs
3 years ago
Sayan Nandan
818c7138ff
Update docs [skip ci]
3 years ago
Sayan Nandan
0d2cfc661c
Use tsymbol to determine if binary or unicode
...
This enables clients to know whether they should expect binary data or
an unicode string.
3 years ago
Sayan Nandan
35bc94f3f1
Use bounded channel when feasible
3 years ago
Sayan Nandan
2175a3c34e
Switch to using volatile tables for benchmarking
3 years ago
Sayan Nandan
dd12ea599e
Take values by ref in `KVEngine` impl methods
3 years ago
Sayan Nandan
ec10d3f962
Fix `pop` and `mpop` tests
3 years ago
Sayan Nandan
fa2a4c2611
Add the `mpop` action and update the `pop` action
3 years ago
Sayan Nandan
1092bdfd65
Merge pull request #198 from skytable/storage/snapshotengine
3 years ago
Sayan Nandan
27a5562651
Don't panic on unimplemented pipeline query type
...
The return for inpsect table queries for Keymap model tables was fixed
3 years ago
Sayan Nandan
4ba70aa19b
Remove ser/de implementations
...
These impls are no longer needed
3 years ago
Sayan Nandan
8f4b6b9e5c
Enable the number of runs to be customized
3 years ago
Sayan Nandan
0843552dcb
Repeat the bench to get average values
3 years ago
Sayan Nandan
4c47aa05ca
Fix broken pipe error due to bad init of Workpool
...
The create table query was being run with the workpool that also
attempts to switch to it on init (pre-loop stage). This caused us to
read in lesser bytes (since we use read_exact) and after the connection
is closed, the server would respond with a broken pipe error as it fails
to write data to the closed connection (since it expected to write more)
3 years ago
Sayan Nandan
42f3251d2c
Upgrade deps
...
Also added docs for Skymap
3 years ago
Sayan Nandan
da8462eda3
Switch hasher implementation
3 years ago
Sayan Nandan
153f940ff6
Merge branch 'memory/improve-cmap' into next
3 years ago
Sayan Nandan
c17e44ddf7
Fix Skymap borrowed iter impl
3 years ago
Sayan Nandan
9da0cdafee
Upgrade interfaces to use Skymap
3 years ago
Sayan Nandan
3759992cf8
Add iterators
3 years ago
Sayan Nandan
7498add90c
Add get, get_mut and entry methods to Skymap
3 years ago
Aaron Hill
28133ddc5f
Remove trailing semicolons from macros ( #201 )
...
This fixes warnings on the latest nightly.
See https://github.com/rust-lang/rust/issues/79813
3 years ago
Sayan Nandan
49f031c13b
Improve sky-bench output
...
This adds lexicographical ordering to the output and streamlines the
number of significant digits to improve the overall output.
3 years ago
Sayan Nandan
db60133dc3
Add basic Skymap methods
3 years ago
Sayan
8fb8d60b4f
Remove caching until ICC is fixed ( #196 )
...
* Remove caching until ICC is fixed
* Fix default toolchain unset error
3 years ago
Sayan Nandan
e9662ef8b6
Use read_exact in loop-stage closure for getpool
3 years ago
Sayan Nandan
11e0cf8426
Use read_exact for all tests to ensure verity
3 years ago
Sayan Nandan
7dc150c311
Use read_exact for reading the okay response
3 years ago
Sayan Nandan
bb19d024ea
Ignore errors in run loop
...
This fixes CVE-2021-37625
3 years ago
Sayan Nandan
8b7de7173e
Use flocks for pid file to enable auto release
...
This can help in situations where the process is forcefully terminated.
3 years ago
Sayan
96a2cc3f77
Update security policy [skip ci]
3 years ago
Sayan
5783d5a8ab
Add security policy [skip ci]
3 years ago
Sayan Nandan
891f9a2e06
Remove unused deps
...
Also simplified new instance check
3 years ago
Sayan Nandan
5a0d3017a5
Support non-interactive TLS passphrase input
3 years ago
Sayan Nandan
d54652c21e
Fix config not parsing `false` in ssl.only key
3 years ago