210 Commits (ee32df091651cefa932c87f35fe2c102c8450854)

Author SHA1 Message Date
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 f142a41ed7
Fix port issues with the `dbtest` macro on Windows
Since the ports in the range [49670,50293] along with ports {5357,7680}
are blocked by Hyper-V on Windows VMs, we'll exclude them.
Previously, several tests on Windows have failed as a result of
attempting to connect to these reserved ports.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan bc1a6fd456
Upgrade tokio to 0.3.2
Upstream changes in tokio have required several changes.
For example, `delay_until` was renamed to `sleep_until`. Similarly,
`notify` was renamed to `notify_one`.
Also, in tdb-macros, the `runtime::Builder::new()` line was changed into
`runtime::Builder::new_multi_thread()` due to changes upstream

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 f8fea34e18
Fix tests for snapshots not setting `SnapshotStatus`
Also upgrade syn from 1.0.46 to 1.0.48 (#31)
4 years ago
Sayan Nandan 5d499fa36d
Remove `testsuite` crate and decompose a few tests 4 years ago
Sayan Nandan 3d1dd04b0d
Improved testing to use custom compiler macros
Also, multi-threaded tests were re-enabled
4 years ago
dependabot[bot] 270dea251f
Bump syn from 1.0.45 to 1.0.46 (#30)
Bumps syn from 1.0.45 to 1.0.46

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Sayan Nandan 47831252b3
Fix the `dbtest` macro using a `#[test]` attribute
Also several misc. fixes were made to the `dbtest` compiler macro
The macro now creates a TcpListener and closes the socket once finished
4 years ago
Sayan Nandan 147f13a020
Rename `tdb-derive` to `tdb-macros`
The proc_macro can now be applied on modules only
All functions within the module will be considered to be a test
This has the advantage of not having to flag every test function
4 years ago
Sayan Nandan 3ce9ea6eeb
Bump up version 4 years ago
Sayan Nandan 87ef3f3ae2
Enable previous snapshots to be parsed 4 years ago
Sayan Nandan a527f3c39d
Implement `mksnap` so that snapshots can be made 4 years ago
Sayan Nandan 8e429c17f4
Add basic `Snapshot` object 4 years ago
Sayan Nandan e6250ae68a
Rollout v0.4.3 4 years ago
Sayan Nandan f6be0cd781
Bump up version 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 b2a5237191
Bump up version 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 9064c0aca3
Enable tests for `get`, `mget` and `heya` 4 years ago
Sayan Nandan 59a2b42615
Implement logging 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 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 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 d8408a45cd
Bump up version 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 a0ea3b6c61
Upgrade server::protocol to the new protocol 4 years ago
Sayan Nandan 67dc83764a
Rename `corelib` to `libtdb` 4 years ago
Sayan Nandan e9b2a8c527
Fix output on Windows 4 years ago
Sayan Nandan d6d764cfb9
Improve command line output for responses 4 years ago
Sayan Nandan f536ebb9aa
Upgrade to use new protocol 4 years ago
Sayan Nandan 689345cc90
Add tdb-bench to bundle 4 years ago
Sayan Nandan 9a4dfd2ebc
Upgrade client to use new corelib modules 4 years ago
Sayan Nandan 12597ce250
Add generic benchmarking module 4 years ago
Sayan Nandan 730ff3fa41
Move and document deserializer module 4 years ago
Sayan Nandan 851b6fd43c
Move to using buffer
Something is wrong with reading the frame sizes, this should be fixed
4 years ago
Sayan Nandan d926e35e22
Use a different R/W lock implementation 4 years ago
Sayan Nandan 16945337fa
Implement persistent storage 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 0edaf27bd3
Implement basic coredb 4 years ago
Sayan Nandan 520bcbc95c
Implement async I/O 4 years ago
Sayan Nandan 59dd4a778d
Implement single-threaded server 4 years ago
Sayan Nandan cfcc73bd86
Add code to benchmark parsers 4 years ago
Sayan Nandan ed1815422d
Refactor project and add terrapipe spec 4 years ago
Sayan Nandan e98bc39a46
Initial commit
Add basic parsing
4 years ago