Sayan Nandan
3616793554
Update versioning and support information [skip ci]
3 years ago
Sayan Nandan
8d3d878b81
Build binary before attempting to run it
...
The background process may or may not complete before the testing begins
3 years ago
Sayan Nandan
246b974bd6
Merge pull request #147 from skytable/skyhash
...
Implement, stabilize and migrate to Skyhash
3 years ago
Sayan Nandan
34134aa29b
Fix using old binary for testing on Windows
3 years ago
Sayan Nandan
53a0082890
Make sure skyd is killed after testing on Windows
3 years ago
Sayan Nandan
6b47279b1b
Fix CI script and improve terminal artwork
3 years ago
Sayan Nandan
bb4637c1e3
Fix string arguments in sky-bench
3 years ago
Sayan Nandan
5847cf1da9
Upgrade sky-bench to use client driver
3 years ago
Sayan Nandan
f55fa85174
Upgrade server to use client driver's `RespCode`s
3 years ago
Sayan Nandan
870c6f560d
Upgrade CLI to use the client driver
3 years ago
Sayan Nandan
57d2883218
Fix SSET not skipping action name
3 years ago
Sayan Nandan
d9bd911768
Fix segfault due to not skipping the action name
...
All the strong actions operate on the raw vector of args and hence need
to skip the action name (which is the first argument just like shell
commands)
3 years ago
Sayan Nandan
75f46c9235
Fix DBSIZE writing header when already written
3 years ago
Sayan Nandan
758baf1eb8
Use single thread for tests (drone) [skip ci]
3 years ago
Sayan Nandan
ba0a67a179
Fix queries returning full responses
...
They should return groups instead
3 years ago
Sayan Nandan
57bfeab4fa
Fix testing on M1 [skip ci]
3 years ago
Sayan Nandan
229a424f45
Fix mset and uset tests
3 years ago
Sayan Nandan
bcca83c7ff
Use single thread for all tests
3 years ago
Sayan Nandan
5d617eae84
Start the database server before running the tests
3 years ago
Sayan Nandan
80fc9e5e9c
Upgrade all tests to use the driver
3 years ago
Sayan Nandan
e08cffd187
Fix MGET returning flat array
...
MGET returns a 'mixed outcome' with respcodes and strings
3 years ago
Sayan Nandan
db68453eab
MGET returns a flat array
3 years ago
Sayan Nandan
35755f8033
Fix ret of parse error instead of `NotEnough`
...
If we couldn't fetch the tsymbol, it means that the stream hasn't
buffered enough data.
Also tests were added to account for the same
3 years ago
Sayan Nandan
8bdf5f32de
Use write_all to ensure all bytes are written
3 years ago
Sayan Nandan
b523103e4f
Remove dbg messages and fix queryengine lcase eval
3 years ago
Sayan Nandan
124caec193
Disable dead_code lint for 'prospective' modules
3 years ago
Sayan Nandan
a730511a2f
Remove redundant methods
3 years ago
Sayan Nandan
7b11047bfe
Make sure result is used
3 years ago
Sayan Nandan
78067d15eb
Upgrade all interfaces to use the Skyhash protocol
3 years ago
Sayan Nandan
d6a3cc2acb
Document the Skyhash deserializer
3 years ago
Sayan Nandan
6d1d5f7877
Fix metaframe parsing and add more tests
3 years ago
Sayan Nandan
fc5c943693
Simplify ASCII digit conversion
...
checked_sub is too sophisticated to use for this; just check if it is an
ASCII digit by using the built-in method
3 years ago
Sayan Nandan
4eabd3fc26
Ensure there are bytes before doing anything
3 years ago
Sayan Nandan
00dbeceb1b
Remove the size part of the metaline completely
...
The size part of the metaline is absolutely redundant as we're doing
double the work while reading the size and then the real thing.
Since sizes won't have escape codes, we can freely read upto the LF
3 years ago
Sayan Nandan
a39d9bf4cf
Implement parser for new protocol
3 years ago
Sayan Nandan
14bfe1fcd1
Add support for parsing arrays and nested arrays
3 years ago
Sayan Nandan
53cad270fc
Add parsing for u64 and also check overflows
3 years ago
Sayan Nandan
ad0fbffe32
Add data types and add parsing for strings
3 years ago
Sayan Nandan
60d7a1c173
Optimize will_cursor_give_char check
3 years ago
Sayan Nandan
3a1abda2cb
Return NotEnough if nothing at current cursor
...
If Parser::will_cursor_give_char is set to not error if a char matches
or the next line is empty, return Ok(bool). If this_if_nothing_ahead is
set to false, then return a NotEnough error if no more chars are
available.
The newly added test explains why
3 years ago
Sayan Nandan
6d29e519c9
Fix read_sizeline returning wrong error
...
Also added more tests
3 years ago
Sayan Nandan
daaf6968ba
Verify if byte is LF before moving cursor
3 years ago
Sayan Nandan
d91e696e24
Add more tests
3 years ago
Sayan Nandan
0bdbd81f92
Add a header magic
...
We add a header magic '0x0D' or the CR byte. This acts as a boundary
between multiple queries on the same connection
3 years ago
Sayan Nandan
88b4eb88a1
Make some idents public
3 years ago
Sayan Nandan
6dbe0fcfaa
Add parsing for complete query
3 years ago
Sayan Nandan
e07614d857
Rename function to reflect names in rest of mod
3 years ago
Sayan Nandan
d22fec8036
Implement complete actiongroup parsing
3 years ago
Sayan Nandan
65f0e445a4
Pre-allocate capacity for the element
3 years ago
Sayan Nandan
2efe2ab213
Implement parsing of datagroup elements
3 years ago