Song Jiacheng has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/20830 )

Change subject: Do not enter ALTERING state just for replication factor changed.
......................................................................


Patch Set 9:

(2 comments)

> Patch Set 9:
>
> (2 comments)

Thanks for the review!
I'm not sure about these two points, please tell me if I am wrong.

http://gerrit.cloudera.org:8080/#/c/20830/9//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/20830/9//COMMIT_MSG@10
PS9, Line 10: state
> Add: until the request timeout.
Actually this table will stay in ALTERING state forever, because it could not 
get any tablet reports. The table could exit from ALTERING state only if it 
receives some tablet reports.


http://gerrit.cloudera.org:8080/#/c/20830/9/src/kudu/integration-tests/alter_table-test.cc
File src/kudu/integration-tests/alter_table-test.cc:

http://gerrit.cloudera.org:8080/#/c/20830/9/src/kudu/integration-tests/alter_table-test.cc@2642
PS9, Line 2642: TEST_F(ReplicatedAlterTableTest, 
CheckTableStateAfterReplicatedAlter) {
> How about use TEST_P to test the case also: without the fix, alter replica
This probably needs to add some codes to catalog_manager.cc to enable or 
disable the fix, doesn't it? If so, I think it might not worth that. Please 
tell me if there is another way to disable the fix. Thanks!



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1d20da7c0dd5912790aaa46e9fff366b2973d7a4
Gerrit-Change-Number: 20830
Gerrit-PatchSet: 9
Gerrit-Owner: Song Jiacheng <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Song Jiacheng <[email protected]>
Gerrit-Reviewer: Wang Xixu <[email protected]>
Gerrit-Comment-Date: Thu, 04 Jan 2024 09:47:23 +0000
Gerrit-HasComments: Yes

Reply via email to