Introduces a thread-local read-ahead buffer for sequential scan workloads (compaction, range queries) over compressed SSTables. The existing path issued one channel.read() syscall per compressed chunk (~64 KiB); by pre-reading 256 KiB at a time and serving subsequent chunk reads from that in-process buffer, the patch cuts syscall count ~4× for sequential scans without touching the random-access path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install hub | |
| ...then in ~/.gitconfig... | |
| [alias] | |
| # public repo | |
| cpr = "!f() { curl https://github.com/cqlengine/cqlengine/pull/${1}.patch | git apply -3 - ; }; f " | |
| # private repo | |
| spr = "!f() { hub apply -3 https://github.com/[your org]/[your project]/pull/${1} ; }; f " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GOVERSION=$(brew list go | head -n 1 | cut -d '/' -f 6) | |
| export GOROOT=$(brew --prefix)/Cellar/go/$GOVERSION/libexec | |
| export GOPATH=/Users/[user]/go |
Provide a REPAIRED preview that audits already-reconciled data across replicas for a tracked keyspace, validating that data backing reconciled offsets is byte-identical across replicas. Reject the operation if the keyspace isn't fully migrated to mutation tracking or if topology changes during any phase. ALL and UNREPAIRED previews on tracked keyspaces are a separate (simpler) design — out of scope here.
Identical to classic REPAIRED preview: