Skip to content
Snippets Groups Projects
  1. Jan 28, 2021
  2. Jan 27, 2021
  3. Sep 03, 2020
  4. Aug 31, 2020
  5. Aug 07, 2020
  6. Jul 19, 2020
  7. May 18, 2020
  8. Apr 07, 2020
  9. Mar 12, 2020
  10. Apr 22, 2019
  11. Feb 02, 2019
  12. Feb 01, 2019
    • Alexander Böhn's avatar
      Allow `rocksdb.DB` instances to be manually closed · 952e7bb4
      Alexander Böhn authored
      While `delete rocks_ptr` is a deterministic operation in C++, the Python analogue `del rocks_handle` is not – disposal and finalization of the Rocks database are entirely dependent on the Python garbage collector (q.v. the `python-rocksdb` tests themselves, which call `gc.collect()` after `del rocks_handle` to attempt to force the destructor to run). This change exposes a method to trigger the destruction of the underlying Rocks database pointer (deterministic!) through the Python Rocks handle; existing code will not need to be changed, as the Python object destructor (non-deterministic!) will now call this method.
      
      This is the second revision of this PR – it resolves the first revision, #39.
      952e7bb4
    • twmht's avatar
      change default compaction_pri · 0c809e1d
      twmht authored
      0c809e1d
    • twmht's avatar
      remove full_scan_mode · 32a3dca2
      twmht authored
      32a3dca2
Loading