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
Sayan Nandan
3619d114b8
Fix logging output even when --json flag is passed
...
Also, the construction of `Workpool`s was simplified.
3 years ago
Sayan Nandan
bb14b62805
Reduce disk accesses with a trip switch
3 years ago
Glydr
89aff32989
Merge pull request #193 from skytable/dml/improve-strong-actions
...
Use snapshot isolation like isolation for strong actions
3 years ago
Sayan Nandan
d705457309
Add UPDATE benches
3 years ago
Sayan Nandan
1d342a772d
Add `PoolConfig`
3 years ago
Sayan Nandan
0d3bfe486e
Use specialized result type for strong actions
3 years ago
Sayan Nandan
252dd9c08d
Add supdate concurrency tests
...
Also added changelog entry
3 years ago
Sayan Nandan
39856cdfd5
Add sset concurrency tests
3 years ago
Sayan Nandan
a8b716c892
Add sdel concurrency tests
3 years ago
Sayan Nandan
62b58f1a9f
Decompose strong actions' snapshotting core
3 years ago
Sayan Nandan
b47fcc2c88
Use snapshot isolation for strong actions
...
This makes strong actions far more reliable than the previous
implementation.
3 years ago
Sayan Nandan
2d5d32216c
Add some general borrow optimizations
3 years ago
Sayan
b6fcb4c035
Add `drop keyspace <name> force` ( #192 )
...
* Add forceful dropping of keyspaces
This commit also improves the reliability of `drop keyspace` in general
* Add changelog
* Add tests for `force_drop_keyspace`
* Upgrade deps
3 years ago
Sayan Nandan
e32b3e8ea1
Destructure methods in `BorrowedEntityGroup`
3 years ago
Sayan Nandan
69df98c69a
Only copy into `ObjectID` for `create table`
3 years ago
Sayan Nandan
3f3f381c50
Avoid copies into `ObjectID`
3 years ago
Sayan Nandan
133400b846
Only run mutating DDL queries if state is okay
3 years ago
Sayan Nandan
ee14656354
Use volatile tables for tests
3 years ago
Sayan Nandan
49fa843eb2
Parse the `swapks` header if it is provided
3 years ago
Sayan
288533f16b
Merge pull request #189 from skytable/model/multiksns
...
Implement multiple keyspaces/tables
3 years ago
Sayan Nandan
f06e9ccdb5
Add FQE tests for flushdb
3 years ago
Sayan Nandan
abcb60463f
Add tests for `inspect`
3 years ago
Sayan Nandan
6924524c4e
Add ddl tests
3 years ago
Sayan Nandan
c5e4de9538
Fix lskeys and add tests for entity based queries
3 years ago
Sayan Nandan
bc9abd7ac3
Enable `lskeys` to accept entities
3 years ago
Sayan Nandan
32fcbc2075
Add changelog and bump up version
3 years ago
Sayan Nandan
c1249ccbf9
Prevent abuse of `system` table
3 years ago
Sayan Nandan
fed4597208
Parse volatile property from DDL queries
3 years ago