Skip to content

Commit

Permalink
Update HISTORY.md with clearer description of the bug fix (as suggest…
Browse files Browse the repository at this point in the history
…ed in the PR review)
  • Loading branch information
Ramkumar Vadivelu committed Sep 25, 2020
1 parent bee7c8e commit e0c65ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Rocksdb Change Log
## Unreleased
### Bug fixes
* Reset the `refitting_level_` flag to false in the error paths in `ReFitLevel()`. Without this fix, if ReFitLevel() returns error once, all subsequent calls to it will result in 'Not implemented: another thread is refitting' error.
* Fixed a bug after a `CompactRange()` with `CompactRangeOptions::change_level` set fails due to a conflict in the level change step, which caused all subsequent calls to `CompactRange()` with `CompactRangeOptions::change_level` set to incorrectly fail with a `Status::NotSupported("another thread is refitting")` error.
### Public API Change
* The methods to create and manage EncrypedEnv have been changed. The EncryptionProvider is now passed to NewEncryptedEnv as a shared pointer, rather than a raw pointer. Comparably, the CTREncryptedProvider now takes a shared pointer, rather than a reference, to a BlockCipher. CreateFromString methods have been added to BlockCipher and EncryptionProvider to provide a single API by which different ciphers and providers can be created, respectively.
* The internal classes (CTREncryptionProvider, ROT13BlockCipher, CTRCipherStream) associated with the EncryptedEnv have been moved out of the public API. To create a CTREncryptionProvider, one can either use EncryptionProvider::NewCTRProvider, or EncryptionProvider::CreateFromString("CTR"). To create a new ROT13BlockCipher, one can either use BlockCipher::NewROT13Cipher or BlockCipher::CreateFromString("ROT13").
Expand Down

0 comments on commit e0c65ce

Please sign in to comment.