Since we take backup and upgrade so multiple rsync do not seem option. Where to file JIRA to get this util build? I can attempt building tool myself but need pointer for Checksum generator class reference which read hints file and generate/update crc file hint digest.
Regards Shishir On Thu, 26 Sep 2019, 19:55 Jeff Jirsa, <jji...@gmail.com> wrote: > > > 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 <shishirroy2...@gmail.com> > 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 > >