Sayan Nandan
b30e71354d
Enable all snapshots to be kept by user preference
...
There can be use cases where the user wants to keep all the snapshots
This commit adds a way to keep all the snapshots, by setting maxtop to 0
When `maxtop` is set to 0, all the snapshots will be kept
4 years ago
Sayan Nandan
98752cf481
Add method to get a deep-clone of the `HashMap`
4 years ago
Sayan Nandan
4c4586c9c1
Re-implement snapshots and add tests
4 years ago
Sayan Nandan
66a447640b
Release read lock immediately
...
This helps us to avoid writer starvation
4 years ago
Sayan Nandan
a527f3c39d
Implement `mksnap` so that snapshots can be made
4 years ago
Sayan Nandan
6ead5ebe6c
Rollout v0.4.4
4 years ago
Sayan Nandan
8e429c17f4
Add basic `Snapshot` object
4 years ago
Sayan Nandan
5b7f3aa6ab
Add config file for snapshots
4 years ago
Sayan Nandan
f9672558d3
Update project metadata and add tests for `KEYLEN`
4 years ago
Sayan Nandan
0a72ea60ed
Add `KEYLEN` query
4 years ago
Sayan Nandan
9e6b455231
Document responses
4 years ago
Sayan Nandan
53f4d00e30
Add tests for `USET`
4 years ago
Sayan Nandan
26a1c4f92d
Add `USET` to actions doc
4 years ago
Sayan Nandan
09a15fd35c
Add `USET` query
4 years ago
Sayan Nandan
c98d4c612f
Remove incorrect comments from older code
4 years ago
Sayan Nandan
e6250ae68a
Rollout v0.4.3
4 years ago
Sayan Nandan
d2284834c7
Add `FLUSHDB` query
4 years ago
Sayan Nandan
31146f9908
Impl `Writable` for `u64` and remove redundancies
4 years ago
Sayan Nandan
f6be0cd781
Bump up version
4 years ago
Sayan Nandan
07195a1d9e
Add `DBSIZE` query
4 years ago
Sayan Nandan
05ed0261ed
Add tests for pipelined queries
4 years ago
Sayan Nandan
531a26ea65
Add `SUPDATE` to actions doc
4 years ago
Sayan Nandan
a2b25441f1
Add tests for `SDEL`
4 years ago
Sayan Nandan
2d5b40f41f
Add tests for `SSET`
4 years ago
Sayan Nandan
8b881d9dbd
Add tests for `SUPDATE`
4 years ago
Sayan Nandan
20041e41a4
Add `SUPDATE` query
4 years ago
Sayan Nandan
3dbc2bce40
Add `SSET` and `SDEL` for automated doc generation
4 years ago
Sayan Nandan
f6f96c10c2
Add `SDEL` query
4 years ago
Sayan Nandan
01f43bcd88
Add `SSET` to `queryengine`
...
The `SSET` tag was added under tags and matched against
4 years ago
Sayan Nandan
c9aa602542
Add `SSET` query
4 years ago
Sayan Nandan
adb4e4b9f6
Add `strong` module
4 years ago
Sayan Nandan
1488a7786b
Add information on the Cyan Snapstore format
...
Also, `CyanSWF` was renamed to `CyanSFW` for consistency
4 years ago
Sayan Nandan
b96a7831a2
Add `CyanSWF`, the streaming file writer object
4 years ago
Sayan Nandan
ed6e990572
Fix incorrect versions
...
A mass rename was done in 1ac8dd8
This action incorrectly replaced versions in deps
This commit reverts the changes made to the dependency versions
4 years ago
Sayan Nandan
1ac8dd896a
Rollout v0.4.2
4 years ago
Sayan
c0ca6869cd
Fix wrong version in CHANGELOG
4 years ago
Sayan Nandan
b2a5237191
Bump up version
4 years ago
Sayan Nandan
a0ccf059de
Make `every` and `enabled` keys in bgsave optional
...
If there is no `enabled` key, then assume that BGSAVE is enabled
If there is an `every` and no `enabled`, assume that BGSAVE is enabled
4 years ago
Sayan Nandan
74c9d62fe0
Update docs for the `bgsave_scheduler`
4 years ago
Sayan Nandan
511e227f81
Enable BGSAVE to be configured via config file
4 years ago
Sayan Nandan
3a84feb14e
Cleanup to use `BGSave` as a configuration object
...
Also a test for a config file with a custom BGSAVE has been added
4 years ago
Sayan Nandan
f2f0d2d4bd
Enable bgsave config to be read from the cfg file
...
Now, the `bgsave` key can be read and parsed from the config file
4 years ago
Sayan Nandan
20d0b3bf1f
Revert to using vector based tests
...
A custom testing macro would be made in the future.
For now, we will use the `QueryVec` based test to test the queries
4 years ago
Sayan Nandan
f2b040e578
Add testing suite
...
The `testsuite` crate is a library which contains testing utils.
`testsuite` re-exports tdb-derive for ease of use.
4 years ago
Sayan Nandan
0b901b0492
Add proc macro for tests
4 years ago
Sayan Nandan
913cef85e2
Move `tdb-bench` into a separate crate
...
Since tdb-bench no longer needs to be with cli, it was moved
4 years ago
Sayan Nandan
b3500ee3b9
Use jemalloc for non-MSVC targets
4 years ago
Sayan Nandan
d366f887a9
Close transport once every test is over
4 years ago
Sayan Nandan
d1a04bdf23
Manually drop server in tests
4 years ago
Sayan Nandan
7dcf8b92d7
Enable tests for all queries
4 years ago