mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-02 17:09:18 +00:00
Absorb core ShardsIndicesStatusChecker logic into body of run
This commit is contained in:
parent
5341404f01
commit
56328160c9
@ -241,10 +241,6 @@ public class IndexingMemoryController extends AbstractLifecycleComponent<Indexin
|
||||
class ShardsIndicesStatusChecker implements Runnable {
|
||||
@Override
|
||||
public synchronized void run() {
|
||||
calcAndSetShardBuffers();
|
||||
}
|
||||
|
||||
private void calcAndSetShardBuffers() {
|
||||
List<IndexShard> availableShards = availableShards();
|
||||
List<IndexShard> activeShards = new ArrayList<>();
|
||||
for (IndexShard shard : availableShards) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user