Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexingMemoryController should not track shard index states #15251

Merged
merged 2 commits into from Dec 4, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

Absorb core ShardsIndicesStatusChecker logic into body of run

  • Loading branch information...
jasontedor committed Dec 4, 2015
commit 56328160c98a043e2343403860eed4eef8dd8fb9
@@ -241,10 +241,6 @@ public void forceCheck() {
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) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.