Rollout v0.4.3

next
Sayan Nandan 4 years ago
parent d2284834c7
commit e6250ae68a
No known key found for this signature in database
GPG Key ID: C31EFD7DDA12AEE0

@ -2,6 +2,13 @@
All changes in this project will be noted in this file. All changes in this project will be noted in this file.
## Version 0.4.3 [2020-09-25]
> No breaking changes
This release adds the following actions:
`SSET` , `SUPDATE` , `SDEL` , `DBSIZE` and `FLUSHDB`
## Version 0.4.2 [2020-09-19] ## Version 0.4.2 [2020-09-19]
> No breaking changes > No breaking changes

6
Cargo.lock generated

@ -242,7 +242,7 @@ checksum = "a9f8082297d534141b30c8d39e9b1773713ab50fdbe4ff30f750d063b3bfd701"
[[package]] [[package]]
name = "libtdb" name = "libtdb"
version = "0.4.3-alpha.1" version = "0.4.3"
dependencies = [ dependencies = [
"bytes", "bytes",
"lazy_static", "lazy_static",
@ -564,7 +564,7 @@ dependencies = [
[[package]] [[package]]
name = "tdb" name = "tdb"
version = "0.4.3-alpha.1" version = "0.4.3"
dependencies = [ dependencies = [
"bincode", "bincode",
"bytes", "bytes",
@ -678,7 +678,7 @@ dependencies = [
[[package]] [[package]]
name = "tsh" name = "tsh"
version = "0.4.3-alpha.1" version = "0.4.3"
dependencies = [ dependencies = [
"bytes", "bytes",
"lazy_static", "lazy_static",

@ -119,5 +119,13 @@
"args": "DBSIZE", "args": "DBSIZE",
"desc": "Returns the number of key/value pairs stored in the database", "desc": "Returns the number of key/value pairs stored in the database",
"return": "Number of keys that exist in the database as an unsigned int" "return": "Number of keys that exist in the database as an unsigned int"
},
{
"name": "FLUSHDB",
"since": "0.4.3",
"complexity": "O(n)",
"args": "FLUSHDB",
"desc": "Removes all the key/value pairs stored in the database",
"return": "(Code: 0) if the operation succeeded"
} }
] ]

@ -1,6 +1,6 @@
[package] [package]
name = "tsh" name = "tsh"
version = "0.4.3-alpha.1" version = "0.4.3"
authors = ["Sayan Nandan <ohsayan@outlook.com>"] authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018" edition = "2018"

@ -22,7 +22,7 @@
mod argparse; mod argparse;
mod protocol; mod protocol;
use tokio; use tokio;
const MSG_WELCOME: &'static str = "TerrabaseDB v0.4.3-alpha.1"; const MSG_WELCOME: &'static str = "TerrabaseDB v0.4.3";
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {

@ -1,6 +1,6 @@
[package] [package]
name = "libtdb" name = "libtdb"
version = "0.4.3-alpha.1" version = "0.4.3"
authors = ["Sayan Nandan <ohsayan@outlook.com>"] authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018" edition = "2018"

@ -1,6 +1,6 @@
[package] [package]
name = "tdb" name = "tdb"
version = "0.4.3-alpha.1" version = "0.4.3"
authors = ["Sayan Nandan <ohsayan@outlook.com>"] authors = ["Sayan Nandan <ohsayan@outlook.com>"]
edition = "2018" edition = "2018"

@ -20,7 +20,7 @@
# #
name: TerrabaseDB Server name: TerrabaseDB Server
version: 0.4.3-alpha.1 version: 0.4.3
author: Sayan N. <ohsayan@outlook.com> author: Sayan N. <ohsayan@outlook.com>
about: The TerrabaseDB Database server about: The TerrabaseDB Database server
args: args:

@ -25,7 +25,7 @@
//! //!
//! What this essentially means — is that, //! What this essentially means — is that,
//! instead of taking a whole object and then writing it to the disk, like what persistent //! instead of taking a whole object and then writing it to the disk, like what persistent
//! storage did till v0.4.3-alpha.1, `CyanSWF` takes a part, encodes into its _kinda binary_ //! storage did till v0.4.3, `CyanSWF` takes a part, encodes into its _kinda binary_
//! equivalent, and then writes that to disk. It then takes the next part, encodes it, and then writes it to disk. //! equivalent, and then writes that to disk. It then takes the next part, encodes it, and then writes it to disk.
//! The advantage of using this method is that the entire object does not need to be encoded at once //! The advantage of using this method is that the entire object does not need to be encoded at once
//! which has an additional memory and CPU time overhead. //! which has an additional memory and CPU time overhead.

@ -44,7 +44,7 @@ use jemallocator::Jemalloc;
#[global_allocator] #[global_allocator]
static GLOBAL: Jemalloc = Jemalloc; static GLOBAL: Jemalloc = Jemalloc;
static MSG: &'static str = "TerrabaseDB v0.4.3-alpha.1 | https://github.com/terrabasedb/terrabase"; static MSG: &'static str = "TerrabaseDB v0.4.3 | https://github.com/terrabasedb/terrabase";
static TEXT: &'static str = " static TEXT: &'static str = "
_______ _ _____ ____ _______ _ _____ ____
|__ __| | | | __ \\ | _ \\ |__ __| | | | __ \\ | _ \\

Loading…
Cancel
Save