Commit 11a1a1a6 authored by Dan Notestein's avatar Dan Notestein
Browse files

Fix cache-manager to preserve RocksDB directories in hive/haf caches

Previously, the entire datadir/blockchain directory was excluded from
cache tarballs to save space (~1.7GB block_log files). This also
excluded RocksDB directories like account-history-rocksdb-storage which
contain unique replay state data.

Changes:
- Add _build_blockchain_tar_excludes() that excludes only block_log*
  files while preserving RocksDB directories
- Update hive cache type to use the same exclusion logic as haf
- Call _link_shared_block_log for hive caches on extraction (not just haf)
- Simplify _build_haf_tar_excludes to reuse common logic

This fixes CI failures where hived would exit immediately because
account-history-rocksdb-storage was missing from cached data.
parent 64662143
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment