Adar Dembo has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/15307 )

Change subject: [tserver] fix error code for DeleteTablet requests
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/15307/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/15307/1//COMMIT_MSG@13
PS1, Line 13: If not do this, the tablet will not be deleted by tserver
            : until next time tserver send full tablet report to the leader 
master.
> The reason is that when tserver reports the newly copied tablet to master,
Then let's adjust that TSTabletManager behavior. Something like:
1. Explicitly destroy the TransitionInProgressDeleter after OpenTablet 
completes.
2. Move one of the MarkDirty calls (maybe from TabletReplica::Start? Need to 
consider its effect on masters) so it happens _after_ the deleter is destroyed.

That should force the inclusion of the newly bootstrapped tablet in the report 
at a time that we know the tablet may be deleted.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I591dc8daceb81f9e800098be77c928d391cdc00a
Gerrit-Change-Number: 15307
Gerrit-PatchSet: 1
Gerrit-Owner: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Comment-Date: Fri, 28 Feb 2020 19:06:22 +0000
Gerrit-HasComments: Yes

Reply via email to