1149 Commits (7a354a9acb91c464ede45ba50d0246b931f1e7d7)
 

Author SHA1 Message Date
Sayan Nandan 7a354a9acb
Improve server shutdown heuristic and fix Windows path evaluation 3 years ago
Sayan Nandan 72304195d1
Use proc macro for correct compile-time response generation 3 years ago
Sayan Nandan 2c6768dc12
Ensure snapshot overwrite protection if host time is incorrect 3 years ago
Sayan Nandan 0e10f2cb5f
Fix remote snapshots with same names being overwritten 3 years ago
Sayan Nandan 076282df2b
Add tests for snapshot directory structure 3 years ago
Sayan Nandan e5909eb1f9
Use separate flag for tree cleanup 3 years ago
Sayan Nandan 9374404551
Add persist tests for keyspace creation/deletion 3 years ago
Sayan Nandan 08cffa1d3f
Fix bug causing bgsave/termsig flush failure if a snapshot flushed it
I came across an interesting scenario that led to the discovery of this bug:
if a keyspace is created before a snapshot cycle and before termsig/bgsave,
and then the snapshot cycle runs, then the subsequent runs of bgsave/termsig
would fail. The reason behind this interesting bug turns out to be rather
trivial.

Since the `flush_full` routine, regardless of storage targets would untrip
the PRELOAD switch, the snapshot target as expected untrips the switch. Now,
this means that a tree re-init is not run by BGSAVE or save on termsig.
As a consequence, while attempting to run bgsave/save on termsig, the new
keyspace directories are not found, resulting in flush failure. This commit
fixes it my simply checking if the target should untrip the switch or not.

Tests for the same were added
3 years ago
Sayan Nandan c4eaf3d182
Bump version [skip ci] 3 years ago
Glydr 52b0ecfd35
Merge pull request #246 from skytable/actions/sys
Add `sys` actions for metrics and properties
3 years ago
Sayan Nandan 7b3db3fa17
Add sys actiondoc 3 years ago
Sayan Nandan 5002fed675
Fix pipeline with pedantic execution for stages 3 years ago
Sayan Nandan af9a3aef5e
Add printing for floats 3 years ago
Sayan Nandan 5054adc33c
Add sys action tests 3 years ago
Sayan Nandan 832da79e9d
Add sys actions 3 years ago
Sayan Nandan 0283d91f67
Fix panic resulting from corrupted metadata in `PARTMAP` 3 years ago
Sayan Nandan 0b17f7b0e4
Fix new instance detection 3 years ago
Sayan Nandan 0e7340c965
Fix LF check in protocol impl 3 years ago
Sayan Nandan d57b0d98cf
Improve error reporting infrastructure
This commit greatly improves the error reporting infrastructure
all across the `skyd` crate. Now, every error has far more
context making it easier to debug and test while also providing
helpful feedback to users. This feedback can be extremely helpful
to find out offending files and fix them; for example, by being
specific about which file is corrupted or has bad metadata.
3 years ago
Sayan Nandan 624c7e5aaa
Update docs [skip ci] 3 years ago
Sayan Nandan f9b997c1f1
Avoid verbose logging in test harness 3 years ago
Sayan Nandan cc6a1b7f27
Enable pushing multiple elements into list at once 3 years ago
Sayan Nandan 14d9eb4bac
Clean up code
Fixed Windows tests and also applied recent clippy suggestions
3 years ago
Sayan Nandan cd1accd646
Simplify command assembly 3 years ago
Sayan Nandan 7bf21b3880
Use a guard like construct for running tests to reduce duplication 3 years ago
Sayan Nandan 6234018077
Wait for servers to start/shut down instead of waiting blindly 3 years ago
Sayan Nandan d306307fd8
Fix doc workflow not reporting errors and `auth whoami` actiondoc 3 years ago
Sayan Nandan f40c1d00e5
Add `auth whoami` 3 years ago
Sayan Nandan 81c3479ffb
Fix handling of EOF keystroke 3 years ago
Sayan Nandan 82420e2013
Enable inspecting the current table 3 years ago
Sayan Nandan ced5e75182
Enable inspecting current keyspace 3 years ago
Sayan Nandan b099dd1825
Add missing respcode output impls 3 years ago
Sayan Nandan 7e838efeb5
Fix harness tests 3 years ago
Sayan Nandan b057de94e6
Bump version to 0.7.4 3 years ago
Sayan Nandan b005ca57c5
Add file name tests for harness 3 years ago
Sayan Nandan 90ef10a56d
Fix snapshot engine init failure 3 years ago
Sayan Nandan c80d929cf9
Ensure `AuthID`s are ASCII-only and add actiondoc for `listuser` 3 years ago
Sayan Nandan ad2f87de7a
Add `auth listuser` subaction 3 years ago
Sayan Nandan 37ba222428
Upgrade deps 3 years ago
Glydr 8118340a3d
Merge pull request #243 from skytable/tests/persist
Use custom build tool for test harness and packaging
3 years ago
Sayan Nandan 80000adee3
Ensure harness is built for target `deb` 3 years ago
Sayan Nandan c7ae4b69e5
Add auth persistence tests 3 years ago
Sayan Nandan f446feaac6
Add persistence tests for lists 3 years ago
Sayan Nandan 4af6bef7de
Avoid deflating for debug builds 3 years ago
Sayan Nandan 93223c80c3
Directly call binary to start server 3 years ago
Sayan Nandan 5038e93d5a
Create new console window on Windows 3 years ago
Sayan Nandan 0a5a7e7bf6
Sleep after killing processes 3 years ago
Sayan Nandan f04e026178
Generate TLS certs programmatically 3 years ago
Sayan Nandan b9d3318ef9
Use powershell script for Windows termination
Also added additional logging
3 years ago
Sayan Nandan 923b267c61
Use harness for all builds 3 years ago