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 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/20504/3/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/3/src/kudu/fs/log_block_manager-test-util.h@155
PS3, Line 155:   // by truncating one byte off the end of it.
             :   virtual Status AppendPartialRecord(const Container* c, BlockId 
block_id) = 0;
             :
             :   // Appends a 'record' to the metadata part of container 'c'.
             :   virtual Status AppendMetadataRecord(const Container* c, const 
BlockRecordPB& record) = 0;
             :
             :   // Corrupt the 'record' in
> What about consider uniting them into an enum structure ?
Thanks, good idea! 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: 4
Gerrit-Owner: Yingchun Lai <laiyingc...@apache.org>
Gerrit-Reviewer: Alexey Serbin <ale...@apache.org>
Gerrit-Reviewer: KeDeng <kdeng...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yifan Zhang <chinazhangyi...@163.com>
Gerrit-Reviewer: Yingchun Lai <laiyingc...@apache.org>
Gerrit-Reviewer: Yuqi Du <shenxingwuy...@gmail.com>
Gerrit-Comment-Date: Thu, 12 Oct 2023 13:28:05 +0000
Gerrit-HasComments: Yes

Reply via email to