[SEARCH-2109]

Changed parameter passed for LRIS from codeName to storeRef
This commit is contained in:
eliaporciani
2020-03-18 17:37:49 +01:00
parent 89e9f4467f
commit 49d59e511c
@@ -198,7 +198,11 @@ public abstract class CoreStatePublisher extends AbstractTracker
.orElse(transactionsTrackerState);
HashMap<String, String> propertyBag = new HashMap<>();
propertyBag.put("coreName", coreName);
// This property is needed for LRIS sharding method.
// Initially the property was the coreName but it has been changed to storeRef because using coreName
// breaks other type sharding under some conditions.
propertyBag.put("coreName", storeRef.toString());
HashMap<String, String> extendedPropertyBag = new HashMap<>(propertyBag);
updateShardProperty();