ivakegg commented on code in PR #3139:
URL: https://github.com/apache/accumulo/pull/3139#discussion_r1058375832
##########
server/base/src/main/java/org/apache/accumulo/server/master/state/MetaDataStateStore.java:
##########
@@ -139,6 +140,11 @@ public void suspend(Collection<TabletLocationState>
tablets,
for (TabletLocationState tls : tablets) {
Mutation m = new Mutation(tls.extent.getMetadataEntry());
if (tls.current != null) {
+ // if the location more is assignment, then preserve the current
location in the last
+ // location value
+ if
("assignment".equals(context.getConfiguration().get(Property.TABLE_LOCATION_MODE)))
{
+ tls.current.putLastLocation(m);
+ }
Review Comment:
oh, did not realize that. ok.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]