Skip to content

Conversation

@michaelsproul
Copy link
Member

Proposed Changes

The block_cache was disabled by default for hindering performance. We have no plans to re-enable it, and likely a performant replacement would look somewhat different from what we have now.

This PR deletes the block_cache implementation entirely, achieving a slight simplification of our DB code, and also takes aim at the do_atomically_with_block_and_blobs_cache method which IMO was overly complicated for little gain.

Additional Info

TODO:

  • Deprecate CLI flag (with warning).
  • Consider re-adding cache for DataColumnCustodyInfo.
  • Rename do_atomically_with_block_and_blobs_cache to something more appropriate.
  • Work out whether we need a garbage collection/"hard pruning" for dangling blobs/columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant