Wang Xixu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/20600 )

Change subject: KUDU-3486 Master periodically request for full reports.
......................................................................


Patch Set 5:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/20600/5/src/kudu/master/master_service.cc
File src/kudu/master/master_service.cc:

http://gerrit.cloudera.org:8080/#/c/20600/5/src/kudu/master/master_service.cc@495
PS5, Line 495:       ts_desc->UpdateNeedsFullTabletReport(true);
It looks like a full tablet report will happen only when a new tablet is added 
to the cluster or it exist maintenance mode.
Because a full tablet report is a huge pressure for the master when there are 
many tablets. Therefore the interval can not be much small. Another way maybe 
start a background thread in the tablet server and clear the tombed replica 
periodically?


http://gerrit.cloudera.org:8080/#/c/20600/5/src/kudu/master/ts_descriptor.h
File src/kudu/master/ts_descriptor.h:

http://gerrit.cloudera.org:8080/#/c/20600/5/src/kudu/master/ts_descriptor.h@107
PS5, Line 107: Set
Update


http://gerrit.cloudera.org:8080/#/c/20600/5/src/kudu/master/ts_descriptor.cc
File src/kudu/master/ts_descriptor.cc:

http://gerrit.cloudera.org:8080/#/c/20600/5/src/kudu/master/ts_descriptor.cc@169
PS5, Line 169: last_full_report_
nit: last_full_report_time_



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I92d3b3e44f49ad24a95fa10f351c6bd55c6eca7b
Gerrit-Change-Number: 20600
Gerrit-PatchSet: 5
Gerrit-Owner: Song Jiacheng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Song Jiacheng <[email protected]>
Gerrit-Reviewer: Wang Xixu <[email protected]>
Gerrit-Comment-Date: Tue, 24 Oct 2023 09:06:40 +0000
Gerrit-HasComments: Yes

Reply via email to