java-driver
java-driver copied to clipboard
New info log print during cluster shutdown, is breaking dtest usages of c-s
seems like recently this log line was added during shutdown of the cluster:
INFO [main] 2025-01-29 02:03:18,734 Metadata.java:164 - Unregistered tablet map's event listener.
dtest has logic that is looking for the END print in c-s output, and this line "stands" in the way
and lots of the dtest gating tests failed cause of this silly thing
Ref: https://github.com/scylladb/scylla-dtest/pull/5538
Its not really something to fix on the driver side, right? Printing a log is not a bug.
Its not really something to fix on the driver side, right? Printing a log is not a bug.
+1, dtest should not be that fragile, driver does lot's ot async stuff after cluster is being closed, it can throw in anything. Probably what we should do, we should separate logs from output, throwing logs into stderr so that dtest and sct could have a way to separate between them. But it should be done on c-s side.
Also this print is meaningless and doesn't need to be info, seems like it's a leftover from some debugging session
Also this print is meaningless and doesn't need to be info, seems like it's a leftover from some debugging session
True, I have created pr to lower it down to debug