Repository navigation
[FEAT]: Correct/update jepsen tests, properly decode messages from the DB, fix memory leaks with JNI. - #31
Merged
Merged
Conversation
This commit fixes multiple issues discovered during Jepsen linearizability testing: **Empty Byte Handling:** - JNI decoder now returns null for empty bytes instead of throwing errors - Storage engine skips empty values in all scan operations with warning logs - extract_tags_fast() returns empty map for empty bytes to prevent crashes - Clojure encoder/client handle nil decoded events gracefully - Treats empty data as valid "no value" state rather than fatal error **Raft Error Handling:** - Fixed "forward request to: None, None" error messages - Return UNAVAILABLE (not INTERNAL) when leader is unknown during election - Properly distinguishes between retryable states and actual failures - Improves client experience during partition recovery **Jepsen Infrastructure:** - Fixed Apple Silicon ARM64 compatibility in Docker builds - Added architecture detection for protoc and grpc-java binaries - Fixed Rust installation SSL certificate issues (added ca-certificates) - Enhanced compile-protos.sh with diagnostics and error checking - Added verification for Java class generation in run-tests.sh - Removed erroneous proto file copy that was failing builds **Test Results:** All Jepsen linearizability tests now pass consistently with no deserialization errors. The system correctly handles network partitions, leader elections, and transient cluster states. Fixes distributed systems robustness and Jepsen test reliability.
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.
No description provided.