ChenSammi commented on code in PR #3024:
URL: https://github.com/apache/ozone/pull/3024#discussion_r847151248
##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerDoubleBufferWithOMResponse.java:
##########
@@ -107,9 +107,10 @@ public void setup() throws IOException {
ozoneManagerRatisSnapshot = index -> {
lastAppliedIndex = index.get(index.size() - 1);
};
- doubleBuffer = new OzoneManagerDoubleBuffer.Builder().
- setOmMetadataManager(omMetadataManager).
- setOzoneManagerRatisSnapShot(ozoneManagerRatisSnapshot)
+ doubleBuffer = new OzoneManagerDoubleBuffer.Builder()
+ .setOmMetadataManager(omMetadataManager)
+ .setOzoneManagerRatisSnapShot(ozoneManagerRatisSnapshot)
+ .setMaxUnFlushedTransctionSize(1)
Review Comment:
Why we set the size to 1 in this test case, while set it to 10000 in above
test case?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]