xtern commented on code in PR #5674: URL: https://github.com/apache/ignite-3/pull/5674#discussion_r2071185027
########## modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteImpl.java: ########## @@ -2101,4 +2103,14 @@ public PartitionReplicaLifecycleManager partitionReplicaLifecycleManager() { private static String convertToHoconString(ConfigurationRegistry configRegistry) { return HoconConverter.represent(configRegistry.superRoot(), List.of()).render(ConfigRenderOptions.concise().setJson(false)); } + + /** Triggers dumping node components state. This method is used for debugging purposes only. */ + @TestOnly + public void dumpClusterState() { + IgniteStringBuilder sb = new IgniteStringBuilder() + .app("Dumping cluster state for node ").app(node().name()).app(":") + .nl(); + + lifecycleManager.dumpState(sb, ""); + } Review Comment: We need to print the contents of the buffer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org