840 Commits (d744eaa2f6d02986af8d7b8933f75d65b314e5fc)
 

Author SHA1 Message Date
Sayan Nandan a5f735e977 Add `drop table` and `drop keyspace` 3 years ago
Sayan Nandan 608e008a65 Add `create table` and `create keyspace` 3 years ago
Sayan Nandan 5bab0fb91b Use global flush lock to coordinate disk access 3 years ago
Sayan Nandan 6e17ef6d5e Add system keyspace and remove `_system` table 3 years ago
Sayan Nandan 16ac791ff5 Add flush methods for snapshots 3 years ago
Sayan Nandan 03518c22c3 Add corestore impl 3 years ago
Sayan Nandan 421ff19405 Use registry for handling global state 3 years ago
Sayan Nandan 0e88d76444 Simplify hints 3 years ago
Sayan Nandan d1f6916251 Make mksnap use `action!` and simplify `IoResult` 3 years ago
Sayan Nandan c9545a30f1 Do not panic on unknown data type 3 years ago
Sayan Nandan 327953dce0 Fix qe returning full resp packet instead of group 3 years ago
Sayan Nandan 9535975d03 Create the dir tree if the instance is new 3 years ago
Sayan Nandan b2c0b9ecf2 Enable fixed len mutable params in `action!` macro 3 years ago
Sayan Nandan 589ef85e2c Simplify action impls with `action!` macro 3 years ago
Sayan Nandan 66c9822f5d Add routines to unflush an entire `Memstore` 3 years ago
Sayan Nandan a919b1c934 Add tests for flush and unflush routines 3 years ago
Sayan Nandan 454704574b Fix flush routines 3 years ago
Sayan Nandan 2393efb590 Encode model bytemark into `PARTMAP` 3 years ago
Sayan Nandan 610144f78e Add unflush routines 3 years ago
Sayan Nandan 6baa61176f Add volatility tests 3 years ago
Sayan Nandan 66b9ac27af Write storage type into PARTMAP
This commit adds a storage_type segment to the PARTMAP disk file. This
contains information about the storage type of the table.
Is it volatile? Is it persistent? 8-bits were added for future
improvements.
3 years ago
Sayan Nandan 1d403c0d1a Add flush routines 3 years ago
Sayan Nandan e89417cbc6 Fix preload generation and add preload decoding 3 years ago
Sayan Nandan 87d79650ce Add preload generation 3 years ago
Sayan Nandan bca8df5863 Add methods to create directory tree 3 years ago
Sayan Nandan 058b1ef1c6 Replace ns with ks 3 years ago
Sayan Nandan 8e38dca014 Update docs [skip ci] 3 years ago
Sayan Nandan ad48e5478c Add `Integer64BufferRaw` and use it in `resp` 3 years ago
Sayan Nandan 71ab845d02 Fix zeroed impl for `Array<T, N>` 3 years ago
Sayan Nandan 48e29b6ec6 Add `Integer32Buffer` for faster encoding/decoding 3 years ago
Sayan Nandan 5790e99a98 Fix filename generator and use LUT for 32-bit ints 3 years ago
Sayan Nandan ca55694904 And `interface` for fs 3 years ago
Sayan Nandan b162756f80 Avoid unnecessary referencing
Even though the compiler will do immediate derefs, let us be explicit.
3 years ago
Sayan Nandan 03a229104d Fix alignment and auto static lifetime causing UB 3 years ago
Sayan Nandan c24e83c0a7 Encode all sizes to little endian
This is very convenient for us and we will provide advanced byte
ordering only if our users demand for it.
3 years ago
Sayan Nandan e1dfa12ba4 Add runtime panic check on 32-bit or lower 3 years ago
Sayan Nandan 5adc269e11 Add endian info and pointer-width check
When a file created by a 64-bit system is read on a 16/32 bit system,
there may be a size overflow. If so, we should do a runtime panic.
3 years ago
Sayan Nandan 74a0592fbc Simplify transmutation
Also use smaller vectors for faster tests to avoid problems with
thread stack sizes on Windows.
3 years ago
Sayan Nandan c20302ef75 Add storage module for custom encoding/decoding 3 years ago
Sayan Nandan 7c835d03b3 Add NS/KS swap headers in protocol 3 years ago
Sayan Nandan 17d1c472b6 Use proc macro for uninit array magic
The proc macro does some magic to give us a const array with the full
size without having to manually write it. Magic!
3 years ago
Sayan Nandan fd3e06beda Fix array length check assertion 3 years ago
Sayan Nandan e5b0588cca Fix UB due to use of from_const_array 3 years ago
Sayan Nandan f4379d5688 Use Array[64] for NS/KS names
We limit the sizes of keyspaces/namespaces because very long names may
cause fs errors on some file systems.
3 years ago
Sayan Nandan 8faf653d2e Fix ser/de for `Coremap<Array, Array>` 3 years ago
Sayan Nandan bd679f9b79 Document `Array` and `IArray` 3 years ago
Sayan Nandan b997afe89a Fix push function in `Array` 3 years ago
Sayan Nandan 4a27f83e6b Impl `Send` and `Sync` for `Array` 3 years ago
Sayan Nandan 0067b7d1b7 Implement `Array` type
This allows us to have fixed size arrays right on the stack
3 years ago
Sayan Nandan 5ff045bd93 Impl deserialize for `IArray` 3 years ago