Merge branch 'ps/reftable-fixes'
commit637e34a783e6c377a111629692fc24449e651efb
authorJunio C Hamano <gitster@pobox.com>
Wed, 27 Dec 2023 22:52:25 +0000 (27 14:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Dec 2023 22:52:25 +0000 (27 14:52 -0800)
tree41690d26d88971f1262477a50d8e8e07a6c79763
parentb7fbd2ab83a9c1152eb887ec49c02a71190058ec
parentc0cadb0576d4920915eb3bd38a7d1abfcbd25f98
Merge branch 'ps/reftable-fixes'

Bunch of small fix-ups to the reftable code.

* ps/reftable-fixes:
  reftable/block: reuse buffer to compute record keys
  reftable/block: introduce macro to initialize `struct block_iter`
  reftable/merged: reuse buffer to compute record keys
  reftable/stack: fix use of unseeded randomness
  reftable/stack: fix stale lock when dying
  reftable/stack: reuse buffers when reloading stack
  reftable/stack: perform auto-compaction with transactional interface
  reftable/stack: verify that `reftable_stack_add()` uses auto-compaction
  reftable: handle interrupted writes
  reftable: handle interrupted reads
  reftable: wrap EXPECT macros in do/while