23 Commits (c984bd2e1b81aaab68bcc44881f69866f49fec2e)

Author SHA1 Message Date
Sayan Nandan 2ccd771833
Fix `sky-bench testkey` causing RST due to wrong buffer size
Also fixed linuxpkg harness that was broken due to code cleanup
in 14d9eb4bac
3 years ago
Sayan Nandan d201c74150
Remove PID file just before exit
Also upgrade GHA caching dep and fix imports that rustfmt
messed up.
3 years ago
Sayan Nandan 7a354a9acb
Improve server shutdown heuristic and fix Windows path evaluation 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 f9b997c1f1
Avoid verbose logging in test harness 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 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 37ba222428
Upgrade deps 3 years ago
Sayan Nandan 80000adee3
Ensure harness is built for target `deb` 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 1734a62e98
Enable building debian packages using harness 3 years ago
Sayan Nandan b018f14e1c
Add harness for test and release 3 years ago