Yingchun Lai has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/20504 )

Change subject: KUDU-3371 [fs] make LBMCorruptor a base class
......................................................................


Patch Set 3:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/20504/2/src/kudu/fs/log_block_manager-test-util.h
File src/kudu/fs/log_block_manager-test-util.h:

http://gerrit.cloudera.org:8080/#/c/20504/2/src/kudu/fs/log_block_manager-test-util.h@177
PS2, Line 177: // Initialized in Init().
             :   std::vector<Container> all_c
> Seems this object is not so necessary to be introduced in the base class(at
Done


http://gerrit.cloudera.org:8080/#/c/20504/2/src/kudu/fs/log_block_manager-test-util.cc
File src/kudu/fs/log_block_manager-test-util.cc:

http://gerrit.cloudera.org:8080/#/c/20504/2/src/kudu/fs/log_block_manager-test-util.cc@66
PS2, Line 66:
> nit: Could we initialize max_malformed_types_ in the .h file? It may be eas
Some comments have been added to the declaration of 'max_malformed_types_' like 
"The value depends on the implementation of CreateMalformedRecord().", the 
readers could read the implementation of CreateMalformedRecord() to find out 
why it is 7 or other values.
Besides, the derive class NativeMetadataLBMCorruptor is hided in .cc file.


http://gerrit.cloudera.org:8080/#/c/20504/2/src/kudu/fs/log_block_manager-test-util.cc@233
PS2, Line 233:
             : Status NativeMetadataL
> nit: Replace these with 'return metadata_writer->Close()'?
Done



--
To view, visit http://gerrit.cloudera.org:8080/20504
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5a1f2842598f46e88fbd08273d8fd19ed34a9cc5
Gerrit-Change-Number: 20504
Gerrit-PatchSet: 3
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: KeDeng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Comment-Date: Tue, 10 Oct 2023 10:19:49 +0000
Gerrit-HasComments: Yes

Reply via email to