Skip to content

Commit 560a035

Browse files
committed
remove commented code
1 parent 82a37f5 commit 560a035

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

server/src/main/java/org/elasticsearch/index/shard/IndexShard.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,6 @@ public void relocated(
801801
) throws IllegalIndexShardStateException, IllegalStateException {
802802
assert shardRouting.primary() : "only primaries can be marked as relocated: " + shardRouting;
803803
try (Releasable forceRefreshes = refreshListeners.forceRefreshes()) {
804-
// indexShardOperationPermits.blockOperations(new ActionListener<>() {
805804
blockOperations(new ActionListener<>() {
806805
@Override
807806
public void onResponse(Releasable releasable) {
@@ -3872,7 +3871,6 @@ private void asyncBlockOperations(ActionListener<Releasable> onPermitAcquired, l
38723871
});
38733872
try {
38743873
blockOperations(wrappedListener, timeout, timeUnit, threadPool.generic());
3875-
// indexShardOperationPermits.blockOperations(wrappedListener, timeout, timeUnit, threadPool.generic(), this);
38763874
} catch (Exception e) {
38773875
forceRefreshes.close();
38783876
throw e;

0 commit comments

Comments
 (0)