Sayan Nandan
|
1ac8dd896a
|
Rollout v0.4.2
|
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
|
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 |
Sayan Nandan
|
3ad2d573a0
|
Add tests for mupdate
|
4 years ago |
Sayan Nandan
|
7574e4bc58
|
Add tests for exists
|
4 years ago |
Sayan Nandan
|
ffaa1a563b
|
Add tests for mset
|
4 years ago |
Sayan Nandan
|
42a8d145a1
|
Fix mset and mupdate not detecting an action error
|
4 years ago |
Sayan Nandan
|
f8a1980898
|
Add tests for mget
|
4 years ago |
Sayan Nandan
|
d8c385bf2d
|
Add tests for del
|
4 years ago |
Sayan Nandan
|
ea8d9d2108
|
Add syntax error tests for get, set and update
|
4 years ago |
Sayan Nandan
|
cab2ce733b
|
Add tests for heya, get, set and update queries
|
4 years ago |
Sayan Nandan
|
096a0c901b
|
Remove unused functions and duplicates
`proc_query` is used by both by `tdb-bench` and `tsh` so it was moved.
Also, the `println`s in the query tests were moved into the macros
|
4 years ago |
Sayan Nandan
|
9064c0aca3
|
Enable tests for `get`, `mget` and `heya`
|
4 years ago |
Sayan
|
aeb5899050
|
Fix test in `server::config`
We're checking from a TOML `String` and not from a location
|
4 years ago |
Sayan Nandan
|
59a2b42615
|
Implement logging
|
4 years ago |
Sayan Nandan
|
432e19dd71
|
Make docker build use `latest` tag
|
4 years ago |
Sayan Nandan
|
fc274ff95f
|
Improve docs in server
|
4 years ago |
Sayan Nandan
|
40fea56801
|
Make some `fn`s `const`
|
4 years ago |
Sayan Nandan
|
fb38acd392
|
Implement BGSAVE
|
4 years ago |
Sayan
|
ae5da090ec
|
Don't ignore `heya` test
|
4 years ago |
Sayan Nandan
|
85662e1f83
|
Enable tsh to connect to different ports
|
4 years ago |
Sayan Nandan
|
f69bef7308
|
Improve terminal output and bump up version
We will show a syntax error when we get an invalid config file.
|
4 years ago |
Sayan Nandan
|
c26a319877
|
Bump up version
|
4 years ago |
Sayan Nandan
|
b06dedc8bd
|
Enable configuration files to be used
|
4 years ago |
Sayan Nandan
|
340eaaebcb
|
Add support for IPv6 addressing
|
4 years ago |
Sayan Nandan
|
914b1f06e3
|
Added port, host and noart options in config file
|
4 years ago |
Sayan Nandan
|
86d15120e4
|
Add methods to parse cli arguments
|
4 years ago |
Sayan Nandan
|
0690be4d4e
|
Add module to handle configuration files
|
4 years ago |
Sayan Nandan
|
308e57c846
|
Add `BuiltJSON` and `JSONBlob` objs to build JSON
|
4 years ago |
Sayan Nandan
|
3163b6a0e8
|
Add outline for `jget`
|
4 years ago |
Sayan Nandan
|
6ad417e7ce
|
Bump up version to 0.4.0
|
4 years ago |
Sayan Nandan
|
e23cd5ffcd
|
Update version and labels
|
4 years ago |
Sayan Nandan
|
00730ee9d4
|
Fix wrong length in pre-compiled responses
Length of "Unknown action" should be 14 and not 15
|
4 years ago |
Sayan Nandan
|
e0baf0ac8d
|
Classify `fresp`s and `group`s
|
4 years ago |
Sayan Nandan
|
d8408a45cd
|
Bump up version
|
4 years ago |
Sayan Nandan
|
eee6ddbd45
|
Fix precompiled responses
|
4 years ago |
Sayan Nandan
|
b9d059b510
|
Advance the buffer instead of clearing it
|
4 years ago |
Sayan Nandan
|
faa0a1386b
|
Fix size check operator in read_query
|
4 years ago |
Sayan Nandan
|
6b2d603618
|
Fix buffer not being flushed
|
4 years ago |
Sayan Nandan
|
faaaf79bd8
|
Make `exists` return the number of keys that exist
|
4 years ago |
Sayan Nandan
|
a5d121c767
|
Make `update` accept single key/value pairs only
|
4 years ago |
Sayan Nandan
|
167a9dcaab
|
Add `mupdate` query
|
4 years ago |
Sayan Nandan
|
5bc7a60c06
|
Make `del` return the number of keys deleted
|
4 years ago |
Sayan Nandan
|
f214d38e4a
|
Make `mset` return the number of keys set
|
4 years ago |
Sayan Nandan
|
de1e8e9e87
|
Fix parser tests
|
4 years ago |
Sayan Nandan
|
e49df70aef
|
Update license headers
|
4 years ago |
Sayan Nandan
|
43f9bc83f7
|
Fix buffer being advanced to a pos larger than len
|
4 years ago |
Sayan Nandan
|
96a29d6b6c
|
Fix all data in the buffer being discarded
|
4 years ago |
Sayan Nandan
|
f80911e4c1
|
Added `MGET` and `MSET` queries
|
4 years ago |
Sayan Nandan
|
bbd94e50ba
|
Fix `proc_query` in `cli` generating wrong length
|
4 years ago |
Sayan Nandan
|
2e4e9f662a
|
Fix parsing of sizes greater than 9
|
4 years ago |
Sayan Nandan
|
c5c9709e9b
|
Upgrade `cli` to use the new protocol
|
4 years ago |
Sayan Nandan
|
819a6030b0
|
Use timeout for the background thread to start
|
4 years ago |
Sayan Nandan
|
a29831d7ab
|
Improve testing
|
4 years ago |
Sayan Nandan
|
12634858c0
|
Add automated tests for `get` queries
|
4 years ago |
Sayan Nandan
|
004c6d0e21
|
Add automated test for `heya` queries
|
4 years ago |
Sayan Nandan
|
8446b3ffae
|
Enable actions to be executed in `queryengine`
|
4 years ago |
Sayan Nandan
|
b15fda9d65
|
Upgrade `set` and `update` to use the new protocol
|
4 years ago |
Sayan Nandan
|
e65ee21f82
|
Upgrade `get` to the new protocol
|
4 years ago |
Sayan Nandan
|
c6f2504b30
|
Fix comment for the `Writable` trait
|
4 years ago |
Sayan Nandan
|
f9d5b94d31
|
Upgrade `del` and `exists` to use the new protocol
|
4 years ago |
Sayan Nandan
|
77db07ae63
|
Remove `VecWrapper` as we can use a `Vec<u8>`
|
4 years ago |
Sayan Nandan
|
cef28375c0
|
Impl Writable for `BytesWrapper` and `VecWrapper`
|
4 years ago |
Sayan Nandan
|
6aee3bf5f4
|
Remove `libtdb` deps from `server`
|
4 years ago |
Sayan Nandan
|
a0ea3b6c61
|
Upgrade server::protocol to the new protocol
|
4 years ago |
Sayan Nandan
|
59c41407b0
|
Fix terminal art
|
4 years ago |
Sayan Nandan
|
67dc83764a
|
Rename `corelib` to `libtdb`
|
4 years ago |
Sayan Nandan
|
085a71dc3d
|
Add more tests to the parser
|
4 years ago |
Sayan Nandan
|
b641e9bf52
|
Add terrapipe `parser_v2`
|
4 years ago |
Sayan Nandan
|
d41c7c2145
|
Upgrade `exists` to use `ExceptFor`
|
4 years ago |
Sayan Nandan
|
fb3fc5d2f1
|
Upgrade `del` to use `ExceptFor`
|
4 years ago |
Sayan Nandan
|
fc3e760c9a
|
Stabilize "Except" response type impl
|
4 years ago |
Sayan Nandan
|
817eb92661
|
Refactor into kvengine
|
4 years ago |
Sayan Nandan
|
c58c5eec71
|
Fix wrong error being returned in the query engine
|
4 years ago |
Sayan Nandan
|
810375a9b1
|
Add support for multiple keys in actions
|
4 years ago |
Sayan Nandan
|
a8285167a8
|
Loop until we successfully save the data to disk
|
4 years ago |
Sayan Nandan
|
b8406dfb73
|
Fix missing LF in trait impl for RespCode
|
4 years ago |
Sayan Nandan
|
c260595bba
|
Avoid using `concat` to avoid clones
|
4 years ago |
Sayan Nandan
|
8688718cb2
|
Explicitly specify `Self` to be `Sync`
|
4 years ago |
Sayan Nandan
|
498b561764
|
Implement `Writable` for `Response`
|
4 years ago |
Sayan Nandan
|
ba4c7cec09
|
Add `Writable` trait definition
|
4 years ago |
Sayan Nandan
|
b302a16c1c
|
Add "Except" response type
|
4 years ago |
Sayan Nandan
|
ffce96a3a6
|
Add elementary multi-update module
|
4 years ago |
Sayan Nandan
|
bad7b0999d
|
Update response codes
|
4 years ago |
Sayan Nandan
|
2544e28e80
|
Use the `Response` type alias to avoid clones
Also docs were updated to reflect changes in Navigator.
`Action` was renamed to `DataGroup`
|
4 years ago |
Sayan Nandan
|
61ab89effb
|
Remove cursor in favor of index based navigator
|
4 years ago |
Sayan Nandan
|
842700b753
|
Add elementary multi-set module
|
4 years ago |
Sayan Nandan
|
617c76719b
|
Add elementary impl for multi-get
|
4 years ago |
Sayan Nandan
|
9d5e61277c
|
Fix query parsing tests in server
|
4 years ago |
Sayan Nandan
|
6844de1f0b
|
Fix client-side parser in cli
|
4 years ago |
Sayan Nandan
|
f536ebb9aa
|
Upgrade to use new protocol
|
4 years ago |