-
Notifications
You must be signed in to change notification settings - Fork 121
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
Optimize Read Channels #940
Conversation
Changes Unknown when pulling ba6a205 on optReads into ** on master**. |
Results automatically generated by CorfuDB Benchmark Framework to assess the performance of this pull request for commit ba6a205. *** 0.0% transaction FAILURE rate for NonConflictingTx+Scan workload, 1 threads, Disk mode An interactive dashboard with Pull Request Performance Metrics for ALL cluster types and numbers of threads in run, is available at: |
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.
LGTM
Use a single channel per segment for to read uncached entries.
@no2chem Rebased. |
try { | ||
channel.force(true); | ||
channel.close(); | ||
channel = null; |
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.
@NonNull | ||
String fileName; | ||
|
||
private Map<Long, AddressMetaData> knownAddresses = new 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.
SonarQube analysis reported 5 issues Watch the comments in this conversation to review them. 1 extra issueNote: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
String fileName; | ||
|
||
private Map<Long, AddressMetaData> knownAddresses = new ConcurrentHashMap(); | ||
private Set<Long> trimmedAddresses = Collections.newSetFromMap(new 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.
|
||
private Map<Long, AddressMetaData> knownAddresses = new ConcurrentHashMap(); | ||
private Set<Long> trimmedAddresses = Collections.newSetFromMap(new ConcurrentHashMap<>()); | ||
private Set<Long> pendingTrims = Collections.newSetFromMap(new 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.
Codecov Report
@@ Coverage Diff @@
## master #940 +/- ##
==========================================
+ Coverage 66.85% 67.01% +0.16%
==========================================
Files 211 212 +1
Lines 9856 9853 -3
Branches 986 983 -3
==========================================
+ Hits 6589 6603 +14
+ Misses 2887 2871 -16
+ Partials 380 379 -1
Continue to review full report at Codecov.
|
Results automatically generated by CorfuDB Benchmark Framework to assess the performance of this pull request for commit 5db09d7. *** 0.0% transaction FAILURE rate for NonConflictingTx+Scan workload, 1 threads, Disk mode An interactive dashboard with Pull Request Performance Metrics for ALL cluster types and numbers of threads in run, is available at: |
Use a single channel per segment for uncached reads.