indexMetaDataBuilder = IndexMetaData.builder(oldIndexMetaData); indexMetaDataBuilder.putInSyncAllocationIds(shardNumber, remainingInSyncAllocations);
indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), Collections.emptySet()); } else { final String allocationId; indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), Collections.singleton(allocationId)); indexMetaDataBuilder = IndexMetaData.builder(oldIndexMetaData); indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), inSyncAllocationIds);
builder.putInSyncAllocationIds(Integer.valueOf(shardId), allocationIds); } else { throw new IllegalArgumentException("Unexpected token: " + token);
builder.putInSyncAllocationIds(Integer.valueOf(shardId), allocationIds); } else { throw new IllegalArgumentException("Unexpected token: " + token);
builder.putInSyncAllocationIds(Integer.valueOf(shardId), allocationIds); } else { throw new IllegalArgumentException("Unexpected token: " + token);
builder.putInSyncAllocationIds(Integer.valueOf(shardId), allocationIds); } else { throw new IllegalArgumentException("Unexpected token: " + token);
indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), Collections.emptySet()); } else { indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), Collections.singleton(updates.initializedPrimary.allocationId().getId())); indexMetaDataBuilder = IndexMetaData.builder(oldIndexMetaData); indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), inSyncAllocationIds);
indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), Collections.emptySet()); } else { indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), Collections.singleton(updates.initializedPrimary.allocationId().getId())); indexMetaDataBuilder = IndexMetaData.builder(oldIndexMetaData); indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), inSyncAllocationIds);
indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), Collections.emptySet()); } else { indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), Collections.singleton(updates.initializedPrimary.allocationId().getId())); indexMetaDataBuilder = IndexMetaData.builder(oldIndexMetaData); indexMetaDataBuilder.putInSyncAllocationIds(shardId.id(), inSyncAllocationIds);
indexMetaDataBuilder = IndexMetaData.builder(oldIndexMetaData); indexMetaDataBuilder.putInSyncAllocationIds(shardNumber, remainingInSyncAllocations);
int key = in.readVInt(); Set<String> allocationIds = DiffableUtils.StringSetValueSerializer.getInstance().read(in, key); builder.putInSyncAllocationIds(key, allocationIds);
int key = in.readVInt(); Set<String> allocationIds = DiffableUtils.StringSetValueSerializer.getInstance().read(in, key); builder.putInSyncAllocationIds(key, allocationIds);
indexMetaDataBuilder = IndexMetaData.builder(oldIndexMetaData); indexMetaDataBuilder.putInSyncAllocationIds(shardNumber, remainingInSyncAllocations);
int key = in.readVInt(); Set<String> allocationIds = DiffableUtils.StringSetValueSerializer.getInstance().read(in, key); builder.putInSyncAllocationIds(key, allocationIds);
indexMetaDataBuilder = IndexMetaData.builder(oldIndexMetaData); indexMetaDataBuilder.putInSyncAllocationIds(shardNumber, remainingInSyncAllocations);
int key = in.readVInt(); Set<String> allocationIds = DiffableUtils.StringSetValueSerializer.getInstance().read(in, key); builder.putInSyncAllocationIds(key, allocationIds);