pijul nest
guest [sign in]

Adding a check to avoid incrementing the RC of page 0

pmeunier
Jul 12, 2021, 9:11 PM
MORZOA7EAL3BEO2Z6FA5RU45A6O353J7WDXCWF2FHRI5AD27BK3QC

Dependencies

  • [2] DASFQGOR Debugging
  • [3] QEUTVAZ4 Splitting btree::page
  • [4] T73WR2BX Cleaner RC increments for keys and values containing references + more comments in `del`
  • [*] OP6SVMOD Resetting history
  • [*] E4MD6T3L Proofreading and commenting of this crate (massive bug fixes included)

Change contents

  • replacement in sanakirja-core/src/btree/del.rs at line 417
    [2.8089][2.8089:8125]()
    txn.incr_rc(left)?;
    [2.8089]
    [2.8125]
    if left > 0 {
    txn.incr_rc(left)?;
    }
  • edit in sanakirja/src/environment/muttxn.rs at line 484
    [7.18995]
    [6.88500]
    assert!(off > 0);