Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Brooks committed May 13, 2024
1 parent 3a9a597 commit 8568a4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,7 @@ public void onNewClusterState(ClusterState state) {

@Override
public void onClusterServiceClose() {
logger.error("Failed transport replication action because close {}", TransportReplicationAction.super.getClass());
finishAsFailed(new NodeClosedException(clusterService.localNode()));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1305,6 +1305,7 @@ private void assertAllPendingWriteLimitsReleased() throws Exception {
final long coordinatingBytes = indexingPressure.stats().getCurrentCoordinatingBytes();
final long primaryBytes = indexingPressure.stats().getCurrentPrimaryBytes();
if (combinedBytes > 0) {
logger.error("Outstanding tasks: \n{}", client().admin().cluster().prepareListTasks(nodeAndClient.name).get());
throw new AssertionError(
"pending combined bytes ["
+ combinedBytes
Expand Down

0 comments on commit 8568a4e

Please sign in to comment.