question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backing up to Google Cloud Storage results in broken backups

See original GitHub issue

When just trying to get to grips with medusa and how it works, I’m trying to do a trial backup and restore.

The cassandra cluster is a single node with one created keyspace and table:


CREATE TABLE "2021_10_14_test_keyspace".my_test_table (
    id int PRIMARY KEY,
    name text
) WITH bloom_filter_fp_chance = 0.01
    AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
    AND comment = ''
    AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'}
    AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
    AND dclocal_read_repair_chance = 0.1
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99.0PERCENTILE';

With a few bits of test data in.

Backing up this seems to complete fine and the backup gets pushed to GCS, however verification fails with the following error: https://gist.github.com/elsmorian/5431a3abc4644cdb60cfbe46c899105a

Trying to restore this backup to the cluster results in a very broken experience which is not really surprising: https://gist.github.com/elsmorian/7026199d154035ec4327f68b8707be02

I have confirmed that this seems to be a bug in the GCS driver, as I have attempted a backup and restore using the local driver with the same cluster and versions and that all worked with no problems.

Versions:

Medusa: 0.11.1
Cassandra: 2.2.19
GCS storage
Ubuntu Focal 20.04

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
adejanovskicommented, Mar 25, 2022

I’ll close the issue @elsmorian as we’re planning to remove support for full backups soon.

0reactions
elsmoriancommented, Dec 15, 2021

After debugging further I can confirm when running differential backups they complete successfully and verify no problem, but full mode backups break

Read more comments on GitHub >

github_iconTop Results From Across the Web

Back up data for disaster recovery | Filestore - Google Cloud
This page shows you how to back up data for disaster recovery using Filestore backups. To learn more about backups, common use cases,...
Read more >
Google Cloud Backup: Making the Most of Google's Storage ...
Learn about Google Cloud's backup storage options, the three storage classes and related availability SLAs, as well as data import/export ...
Read more >
What Is Cloud Backup and How Does It Work? - TechTarget
Incremental backups only back up the data that has been changed or updated since the last backup. This method saves time and storage...
Read more >
My photos aren't backing up - Android - Google Photos Help
If your photos and videos don't sync to your Google Account, check your backup status. Backup is a storage service that automatically saves...
Read more >
The Best Online Cloud Backup Service - The New York Times
For that price, however, IDrive allows you to back up multiple ... Backblaze B2, Google Cloud Storage, Microsoft Azure Blob Storage, MinIO, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found