Sayan Nandan
eea0f86c97
Upgrade skytable client driver version
3 years ago
Sayan Nandan
24c8548912
Improve printing of flat arrays
3 years ago
Sayan Nandan
a7f5d84ef4
Bump dependencies
...
Also use `tokio::join` in-place of `futures::join`
3 years ago
Sayan Nandan
3616793554
Update versioning and support information [skip ci]
3 years ago
Sayan Nandan
5847cf1da9
Upgrade sky-bench to use client driver
3 years ago
Sayan Nandan
870c6f560d
Upgrade CLI to use the client driver
3 years ago
Sayan Nandan
d18631680c
Bump up version and add changelog entry
3 years ago
Sayan Nandan
f1beb7b1e3
Add support for line editing, history and keyboard shortcuts in skysh ( #142 )
...
* Add line editing and history support
* Enable screen to be cleared by running clear
3 years ago
Sayan Nandan
07dd884f3c
Upgrade deps and remove unused regex in cli
...
Closes #128 , closes #129 and closes #132
3 years ago
Sayan Nandan
d3a612e815
Terminate con when exit or ctrl_c sig is received
3 years ago
Sayan Nandan
cfc23d69d9
Close connection on receiving ctrl_c
3 years ago
Sayan Nandan
507215379f
Rem usize field in ParseResult::BadPacket variant
...
This variant is absolutely redundant as we're just ignoring the entire
buffer and not just a part of it
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
43779eb08e
And now we're Skytable
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
56b958a9cf
Revise copyright blocks as per OSI guidelines
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
a3398f1d07
Rebrand from TerrabaseDB to Skybase ( #90 )
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
4722e01d23
Add `ran_string()` to `tdb-bench`
...
Also, dependencies were upgraded across all crates and the version for
`tdb-macros` was streamlined to 0.5.0 like the other crates.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
e92a6eb8c1
Use `read_again()` to read from the `SslStream`
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
8c067d20a5
Fix writing to TCP socket instead of SSL socket
...
We were doing an extremely erroneous thing: writing to the TCP
socket instead of the SSL socket. This caused OpenSSL to report
problems on the client and server sides, telling us that there
was a problem with the SSL connection.
This commit revises the `write_lowlevel` trait impl for `SslStream` to
write to the SSL socket.
Also, the 'wrong' flushing of data for similar reasons has been fixed
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
d84234724d
Update to upstream changes and polish SSL API
...
Also several debug messages were added for debugging SSL connections.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
07b9985732
Add client side SSL support
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
94c400c962
Enable actions to be run without the REPL in tsh
...
If any user needs to run an action without the REPL, they can now do it
by running `tsh -e 'expr'`
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
792351108d
Rollout 0.5.0
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
bfb4b920df
Bump up version and add changelog entry
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
477acfab4b
Allow tsh to process flags and opts from the shell
...
This commit enables processing for flags and
options for `tsh`. This is a breaking change as it prevents
users from using the previous launch arguments and
instead requires them to use a `-h` and `-p` combination
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
ac37769b7a
Rollout v0.4.5
...
Also, the actiondoc for `MKSNAP` was updated and a changelog entry was
added for this release
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
0ea02f846a
Add tests for MKSNAP and bump up version
...
We don't need tests for MKSNAP when it is enabled as we already have
tests for snapshotting in `diskstore::snapshot`
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
a3c5135022
Provide `asyncdb` for `dbtest` macro functions
...
In `cli` other errors are now formatted in a `[ERR]` format
Also the documentation across the project was updated
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
a39a7b82a3
Fix packet errors due to empty queries in cli
4 years ago
Sayan Nandan
3ce9ea6eeb
Bump up version
4 years ago
Sayan Nandan
6ead5ebe6c
Rollout v0.4.4
4 years ago
Sayan Nandan
e6250ae68a
Rollout v0.4.3
4 years ago
Sayan Nandan
f6be0cd781
Bump up version
4 years ago
Sayan Nandan
1ac8dd896a
Rollout v0.4.2
4 years ago
Sayan Nandan
b2a5237191
Bump up version
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
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
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
6ad417e7ce
Bump up version to 0.4.0
4 years ago
Sayan Nandan
e23cd5ffcd
Update version and labels
4 years ago
Sayan Nandan
d8408a45cd
Bump up version
4 years ago
Sayan Nandan
eee6ddbd45
Fix precompiled responses
4 years ago
Sayan Nandan
de6f39df4b
Add support for integers
4 years ago
Sayan Nandan
e49df70aef
Update license headers
4 years ago
Sayan Nandan
a8fe1a77ef
Upgrade benchmarks
4 years ago
Sayan Nandan
c11290c620
Impl `Display` for `DataGroup` in cli
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
6aee3bf5f4
Remove `libtdb` deps from `server`
4 years ago
Sayan Nandan
67dc83764a
Rename `corelib` to `libtdb`
4 years ago
Sayan Nandan
d6d764cfb9
Improve command line output for responses
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
6844de1f0b
Fix client-side parser in cli
4 years ago
Sayan Nandan
f536ebb9aa
Upgrade to use new protocol
4 years ago
Sayan Nandan
423c9b37aa
Use blanket implementations for response traits
4 years ago
Sayan Nandan
44e0affc82
Enable remote host connections on tsh
4 years ago
Sayan Nandan
689345cc90
Add tdb-bench to bundle
4 years ago
Sayan Nandan
6f3fea8ebc
Improve command line output
4 years ago
Sayan Nandan
a5067ad501
Fix output on empty responses in CLI
4 years ago
Sayan Nandan
79e3b9535f
Removed debug messages and added docs
4 years ago
Sayan Nandan
e8d1c0e90c
Improve benchmark program output
4 years ago
Sayan Nandan
0bc5f025a9
Fix response packet parser
4 years ago
Sayan Nandan
9a4dfd2ebc
Upgrade client to use new corelib modules
4 years ago
Sayan Nandan
556c874228
Rename misleading function
...
Renamed prepare_response member-function of SimpleQuery to prepare_query
4 years ago
Sayan Nandan
76886c13f9
Refactor into modules (server)
4 years ago
Sayan Nandan
7919f5b40e
Add worker-based bench tool
4 years ago
Sayan Nandan
12597ce250
Add generic benchmarking module
4 years ago
Sayan Nandan
37d4b808e1
Add docs
4 years ago
Sayan Nandan
bfb1e39fe6
Add way to exit
4 years ago
Sayan Nandan
59046db8f8
Implement client
4 years ago
Sayan Nandan
0f1dde109b
Implement client
...
However, the client has some propagation errors
4 years ago
Sayan Nandan
ab24e6588f
Reimplement terrapipe metaframe
4 years ago
Sayan Nandan
7434071509
Implement basic client
4 years ago
Sayan Nandan
a78e54b215
Make error responses static
4 years ago
Sayan Nandan
ed1815422d
Refactor project and add terrapipe spec
4 years ago