You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremy Hanna (Jira)" <ji...@apache.org> on 2022/06/21 22:13:00 UTC

[jira] [Updated] (CASSANDRA-17707) Clarify intent when replaying hint files "partially"

     [ https://issues.apache.org/jira/browse/CASSANDRA-17707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Hanna updated CASSANDRA-17707:
-------------------------------------
    Description: 
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]

  was:
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]


> 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
>            Priority: Normal
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org