[kudu-CR] KUDU-2274. WIP: Shut down tombstoned replica when replacing it

2018-02-08 Thread Mike Percy (Code Review)
Mike Percy has abandoned this change. ( http://gerrit.cloudera.org:8080/9156 )

Change subject: KUDU-2274. WIP: Shut down tombstoned replica when replacing it
..


Abandoned

Superseded by https://gerrit.cloudera.org/c/9246/
--
To view, visit http://gerrit.cloudera.org:8080/9156
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: abandon
Gerrit-Change-Id: I5508b70946c9341456407c12551b19eba488d191
Gerrit-Change-Number: 9156
Gerrit-PatchSet: 2
Gerrit-Owner: Mike Percy 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy 


[kudu-CR] KUDU-2274. WIP: Shut down tombstoned replica when replacing it

2018-02-08 Thread Mike Percy (Code Review)
Mike Percy has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9156 )

Change subject: KUDU-2274. WIP: Shut down tombstoned replica when replacing it
..


Patch Set 2:

> I think this looks good as is, but of course it would be nice to get a test 
> to trigger the issue.  I tried my test scenario posted as a WIP patch at 
> https://gerrit.cloudera.org/#/c/9116/ against this patch (slightly modifed, 
> just commented out old_replica->Shutdown() in 
> TSTabletManager::RunTabletCopy()), but that didn't hit the CHECK() added in 
> this patch.

I was able to get this to trigger some failures by running tombstoned_voting 
stress test so I merged this with https://gerrit.cloudera.org/c/9246/ ... see 
the commit message there.


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5508b70946c9341456407c12551b19eba488d191
Gerrit-Change-Number: 9156
Gerrit-PatchSet: 2
Gerrit-Owner: Mike Percy 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy 
Gerrit-Comment-Date: Thu, 08 Feb 2018 08:50:29 +
Gerrit-HasComments: No


[kudu-CR] KUDU-2274. WIP: Shut down tombstoned replica when replacing it

2018-02-07 Thread Alexey Serbin (Code Review)
Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9156 )

Change subject: KUDU-2274. WIP: Shut down tombstoned replica when replacing it
..


Patch Set 2: Code-Review+1

I think this looks good as is, but of course it would be nice to get a test to 
trigger the issue.  I tried my test scenario posted as a WIP patch at 
https://gerrit.cloudera.org/#/c/9116/ against this patch (slightly modifed, 
just commented out old_replica->Shutdown() in 
TSTabletManager::RunTabletCopy()), but that didn't hit the CHECK() added in 
this patch.


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5508b70946c9341456407c12551b19eba488d191
Gerrit-Change-Number: 9156
Gerrit-PatchSet: 2
Gerrit-Owner: Mike Percy 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Wed, 07 Feb 2018 20:48:28 +
Gerrit-HasComments: No


[kudu-CR] KUDU-2274. WIP: Shut down tombstoned replica when replacing it

2018-02-07 Thread Mike Percy (Code Review)
Hello Alexey Serbin, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/9156

to look at the new patch set (#2).

Change subject: KUDU-2274. WIP: Shut down tombstoned replica when replacing it
..

KUDU-2274. WIP: Shut down tombstoned replica when replacing it

Also improve destructor state checks in TabletReplica.

TODO: Needs a test.

Change-Id: I5508b70946c9341456407c12551b19eba488d191
---
M src/kudu/tablet/tablet_replica.cc
M src/kudu/tserver/ts_tablet_manager.cc
2 files changed, 8 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/56/9156/2
--
To view, visit http://gerrit.cloudera.org:8080/9156
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5508b70946c9341456407c12551b19eba488d191
Gerrit-Change-Number: 9156
Gerrit-PatchSet: 2
Gerrit-Owner: Mike Percy 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Kudu Jenkins