Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
finnegancarroll committed Jun 14, 2024
1 parent 09f939f commit b3ed222
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions gradle/run.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,10 @@ testClusters {
}
}

// DEBUG SETTINGS - DO NOT COMMIT
// DEBUG SETTINGS - NO COM
setting 'node.search.cache.size', '100b'
//setting 'cluster.filecache.remote_data_ratio', '0'

setting 'node.roles', '[data,ingest,cluster_manager,search]'
// setting 'node.roles', '[search]'
setting 'path.repo', '/Users/carrofin/fdev/DEBUG/STORES/SNAPS'
// setting 'path.data', '/fakemount'
setting 'path.data', '/Users/carrofin/fdev/DEBUG/STORES/DATA'

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ public void close() throws IOException {
for (WeakReference<IndexInput> ref : cloneRefs) {
IndexInput input = ref.get();
if (input != null) {

System.out.println("CLOSING FLOATING II CLONE!");
// throw new RuntimeException("DEBUG BREAK");

input.close();
}
cloneRefs.remove(ref);
Expand Down

0 comments on commit b3ed222

Please sign in to comment.