Comment 0 for bug 1564141

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

There are some special tables in cassandra "system" keyspace such us "hints' which will store data temporarily.

when a snapshot is done during this time, when data is present, it creates hints/snapshots/<old-timestamp>/<data>.

Later( after the data from hints table is removed) when fab backup_cassandra_db is executed, this task creates snapshots, and relay on the presence of snapshots dir(https://github.com/Juniper/contrail-fabric-utils/blob/93dc7e111015a413653d6ae885523e65a6d24294/fabfile/tasks/backup_restore.py#L212) to find the tables which has data snapshots.

As the hints table has snapshots dir from earlier snpshot(not from fab backup_cassandra_db), this table is also treated as the table form which the snapshot needs to be backed up.

However the hints/snapshots/ will not not have the <new-timestamap>, so the rsync failshttps://github.com/Juniper/contrail-fabric-utils/blob/93dc7e111015a413653d6ae885523e65a6d24294/fabfile/tasks/backup_restore.py#L235)