-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing zero-copy bugs fixes (not for merging) #1156
Open
szetszwo
wants to merge
31
commits into
apache:master
Choose a base branch
from
szetszwo:RATIS-2164
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 9 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0d2a4dc
RATIS-2164. LeakDetector has a race condition.
szetszwo 205c720
Fix a bug and checkstyle.
szetszwo 58f296f
Enable advanced detection for debugging.
szetszwo 67577ff
Fixed some bugs.
szetszwo 90321af
Some minor changes.
szetszwo 1c5c6eb
try-catch MiniRaftCluster shutdown.
szetszwo 9159532
Report earlier leaks at shutdown.
szetszwo 0f4b61e
Enable advance leak detection.
szetszwo fe29cde
Move the enable method to ReferenceCountedLeakDetector.
szetszwo 7a6fef9
Use HashMap.
szetszwo 77db48e
Fix a bug in LogAppenderDefault.
szetszwo c8e3ac8
Rewrite AdvancedTracing.
szetszwo aea498f
Fix a bug in LogSegment cache.
szetszwo 0104ece
Add synchronized to get()
szetszwo 43980fb
Fix javac error.
szetszwo 9150bdc
Restore RaftBasicTests.
szetszwo 38f5c69
Move ReferenceCountedLeakDetector.enable(..) to MiniRaftCluster.
szetszwo 23af8ed
Fix bugs in LogSegment.EntryCache.
szetszwo 3512387
Fix a bug in SimpleStateMachine4Testing.
szetszwo b548373
Copy LogEntryProto in SimpleStateMachine4Testing.
szetszwo c4ac263
Use Throwable in MiniRaftCluster.
szetszwo b831226
New entries can to added after EntryCache is closed.
szetszwo 55a3896
Bump test related plugin versions.
szetszwo 1d49431
Reduce messages to 100
szetszwo b57a748
Fix checkstyle.
szetszwo 483b6ae
Resest test Xmx to 2g
szetszwo 6547e14
Retry assertNoLeaks multiple times.
szetszwo dc690e4
Copy log entries in MemoryRaftLog.
szetszwo 632809e
SegmentedRaftLogWorker should clean up unfinished tasks in the queue.
szetszwo 3b07ab9
Fix checkstyle
szetszwo 6c15124
Revert pom.xml changes.
szetszwo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All methods are synchronized, do we still need to use ConcurrentHashMap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right! We don't need
ConcurrentHashMap
anymore.