Wang Xixu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19163


Change subject: [Tools][Bugfix] Fix bug of tablet copier which will cause core 
dump
......................................................................

[Tools][Bugfix] Fix bug of tablet copier which will cause core dump

The function: CopyTablets() of class TabletCopier creates a thread to obtain 
copy process periodically,
every 10 seconds, it will log the tablet id and tablet status. But fake_replica 
does not have a tablet id,
here will core dump.

Therefore, this patch uses map<string, TabletReplica*> 
copying_replicas_by_tablet_id to store the tablet id
and fake_replica.

Change-Id: Iaa2107d3c04c9f3e850d33dbf420ebb62edc98d8
---
M src/kudu/tools/tool_action_local_replica.cc
1 file changed, 7 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/63/19163/1
--
To view, visit http://gerrit.cloudera.org:8080/19163
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa2107d3c04c9f3e850d33dbf420ebb62edc98d8
Gerrit-Change-Number: 19163
Gerrit-PatchSet: 1
Gerrit-Owner: Wang Xixu <[email protected]>

Reply via email to