thelastpickle / cassandra-medusa

Apache Cassandra Backup and Restore Tool
Apache License 2.0
258 stars 140 forks source link

No manifest blob for backup #755

Open smutel opened 4 months ago

smutel commented 4 months ago

Project board link

Hello,

I have this message error:

No manifest blob for backup medusa-backup-test2-1714136400 of fqdn cassandra-dc1-rack1-sts-0

This message is from this function:

@property                                                                                       
def finished(self):                                                                             
    # if we got the finished timestamp straight from the constructor                            
    if self._finished is not None:                                                              
        return self._finished                                                                   

    # otherwise set it from the manifest blob                                                   
    if self.cached_manifest_blob is None:                                                       
        self.cached_manifest_blob = self._blob(self._manifest_path)                             

    if self.cached_manifest_blob is not None:                                                   
        dt = self._storage.storage_driver.get_object_datetime(self.cached_manifest_blob)        
        self._finished = int(dt.timestamp())                                                    
        return self._finished                                                                   

    # if we still failed to work out the timestamp of manifest blob, we are in trouble          
    logging.debug("No manifest blob for backup {} of fqdn {}".format(self._name, self._fqdn))   
    return None  

How can I troubleshoot this ? Thanks.

┆Issue is synchronized with this Jira Story by Unito

rzvoncek commented 3 months ago

Hi @smutel !

To look into this further, please:

In general, the manifest blob is the one Medusa uses to mark backup as finished. It is also one of the last things that medusa writes when it finishes a backup. If you have a backup that started, but did not finish, you might get a lot of these.

rzvoncek commented 3 months ago

Hi @smutel ! Did you manage to resolve this? Is there anything more we can help with?