All Versions
23
Latest Version
Avg Release Cycle
-
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v0.27 Changes
๐ฅ Breaking Changes
Event::Set
has been renamed toEvent::Insert
andEvent::Del
has been renamed toEvent::Remove
. These names better align with the methods of BTreeMap from the standard library.
๐ Bug Fixes
- A deadlock was possible in very high write volume situations when the segment accountant lock was taken by all IO threads while a task was blocked trying to submit a file truncation request to the threadpool while holding the segment accountant lock.
๐ New Features
flush_async
has been added to perform time-intensive flushing in an asynchronous manner, returning a Future.
-
v0.26.1 Changes
๐ Improvements
- std::thread is no longer used on platforms other than linux, macos, and windows, which increases portability.
-
v0.26 Changes
๐ New Features
- Transactions! You may now call
Tree::transaction
and perform reads, writes, and deletes within a provided closure with aTransactionalTree
argument. This closure may be called multiple times if the transaction encounters a concurrent update in the process of its execution. Transactions may also be used on tuples ofTree
objects, where the closure will then be parameterized onTransactionalTree
instances providing access to each of the providedTree
instances. This allows you to atomically read and modify multipleTree
instances in a single atomic operation. These transactions are serializable, fully ACID, and optimistic. Tree::apply_batch
allows you to apply aBatch
TransactionalTree::apply_batch
allow you to apply aBatch
from within a transaction.
๐ฅ Breaking Changes
- ๐
Tree::batch
has been removed. Now you can directly create aBatch
withBatch::default()
and then apply it to aTree
withTree::apply_batch
or during a transaction usingTransactionalTree::apply_batch
. This facilitates multi-Tree
batches via transactions. - ๐
Event::Merge
has been removed, andTree::merge
will now send a completeEvent::Set
item to be distributed to all listening subscribers.
- Transactions! You may now call