Conversation
- Change MySQL protocol query logs from Info to Debug level - Remove debug fmt.Printf statements from MySQL handler - Fix TestMutexWatchEventHandling flaky test by: - Increasing wait time before unlock to 500ms - Using non-blocking select for lock acquisition order - Increasing timeout to 20 seconds - Replace clientv3.New() with NewEtcdClient() for quiet logging - Fix RocksDB test cleanup order (client before server)
- Reduce RocksDB default memory usage from ~1GB to ~10MB: - Block cache: 512MB -> 8MB - Write buffer: 64MB -> 4MB - Max write buffers: 3 -> 2 - WAL max size: 512MB -> 32MB - Background jobs: 4 -> 2 - Add configurable RocksDB performance tuning via config.yaml: - block_cache_size, write_buffer_size, max_write_buffer_number - max_background_jobs, compression (none/snappy/lz4/zstd) - Remove writeMu from Memory storage (Raft guarantees serialization) - Fix flaky TestLockFairness tests by adding short mode skip - Clean up unused config files (mysql_example.yaml, 2node_ha_example/) - Fix test compilation errors after revision field type change
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refactor: optimize RocksDB memory footprint and improve test stability