Jeremy Hanna created CASSANDRA-17707:
----------------------------------------
Summary: Clarify intent when replaying hint files "partially"
Key: CASSANDRA-17707
URL: https://issues.apache.org/jira/browse/CASSANDRA-17707
Project: Cassandra
Issue Type: Task
Reporter: Jeremy Hanna
As part of CASSANDRA-6230, hints were redesigned to come from files. As part
of this, we log when the hint files are dispatched.
See
https://github.com/apache/cassandra/blob/cassandra-4.1/src/java/org/apache/cassandra/hints/HintsDispatchExecutor.java#L318
{code}
logger.info("Finished hinted handoff of file {} to endpoint {}: {}, partially",
descriptor.fileName(), address, hostId);
{code}
This has caused some confusion among some users who wonder whether their files
were only partially replayed and whether data is consistent.
This ticket is to clarify in the log statement itself or document in the
official docs what is meant by `partially`.
My understanding is that it's really that sometimes when shutting down, all of
the file metadata isn't written so it replays the file anyway. Is that right?
I wasn't sure about the dispatch failure and what that means in practice.
CC [~aleksey]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]