Skip to content

refactor: replace RocksDB with Pebble (pure Go) and fix lease restart…#50

Merged
axfor merged 1 commit intomainfrom
x1
Mar 13, 2026
Merged

refactor: replace RocksDB with Pebble (pure Go) and fix lease restart…#50
axfor merged 1 commit intomainfrom
x1

Conversation

@axfor
Copy link
Owner

@axfor axfor commented Mar 13, 2026

… bugs

  • Replace github.com/linxGnu/grocksdb (CGO) with github.com/cockroachdb/pebble (pure Go)
  • Rename all rocksdb references: packages, types, functions, configs, scripts, docs
  • Delete third_party/rocksdb/ (2.1GB C library) and all RocksDB-specific files
  • Fix lease GrantTime not persisted in protobuf RaftOperation (caused TTL reset on restart)
  • Fix getLease returning nil,nil causing panic on LeaseTimeToLive for expired leases
  • Add comprehensive lease restart tests covering single-node and 3-node cluster scenarios

… bugs

- Replace github.com/linxGnu/grocksdb (CGO) with github.com/cockroachdb/pebble (pure Go)
- Rename all rocksdb references: packages, types, functions, configs, scripts, docs
- Delete third_party/rocksdb/ (2.1GB C library) and all RocksDB-specific files
- Fix lease GrantTime not persisted in protobuf RaftOperation (caused TTL reset on restart)
- Fix getLease returning nil,nil causing panic on LeaseTimeToLive for expired leases
- Add comprehensive lease restart tests covering single-node and 3-node cluster scenarios
@axfor axfor merged commit d5c2b64 into main Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant