If the log does not exist at all, since no operations have been completed
on that bucket, we get a 404.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
def full_sync_bucket(self, bucket):
try:
instance = self.get_bucket_instance(bucket)
- marker = client.get_log_info(self.src_conn, 'bucket-index',
- instance)['max_marker']
+ try:
+ marker = client.get_log_info(self.src_conn, 'bucket-index',
+ instance)['max_marker']
+ except client.NotFound:
+ marker = ''
log.debug('bucket instance is "%s" with marker %s', instance, marker)
# nothing to do for this bucket
if not marker: