No mechanism exists. You could potentially do multiple rsyncs instead of trying to grab a live file one time, but it’s also worth a JIRA to build a utility that tries to validate the checksum (it won’t be difficult)
> On Sep 26, 2019, at 6:37 AM, Shishir Kumar <[email protected]> wrote: > > > Hi, > > Is there any CLI or API which I can use to validate hint files checksum is > correct? > > Reason to ask for such utility/CLI - We are doing rolling upgrade for > Cassandra in Google cloud. As approach we bring down nodes, take snapshot > backup, upgrade and bring node up. During this process hint file also gets > backed up. At times few hint file write is in transit while we are doing > snapshot backup. This result in server start up failure as hint file checksum > do not match. > > So I am looking for a way which confirm no hint file write in transit during > snapshot backup. In case we have any CLI or API which can confirm hint file > checksum is good, it will serve purpose. > > Regards > Shishir >
