Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19189

Revisit use of sealed period lookup tables

    XMLWordPrintableJSON

Details

    Description

      Metadata snapshots are stored locally in the system.metadata_snapshots table, which is keyed by epoch. Snapshots are retrieved from this table for three purposes:

      • to replay locally during startup
      • to provide log state for a peer requesting catchup
      • to create point-in-time ClusterMetadata, for disaster recovery

      In the majority of cases, we always want to replay from the most recent snapshot so we can usually select the appropriate snapshot by simply scanning the snapshots table in reverse, which allows us to considerably simplify the process of looking up the desired snapshot. We will continue to persist historical snapshots, at least for now, so that we are able to select arbitrary snapshots should we want to reconstruct metadata state for arbitrary epochs.

      Attachments

        1. ci_summary.html
          7 kB
          Marcus Eriksson
        2. result_details.tar.gz
          40.17 MB
          Marcus Eriksson

        Issue Links

          Activity

            People

              marcuse Marcus Eriksson
              marcuse Marcus Eriksson
              Marcus Eriksson
              Alex Petrov, Sam Tunnicliffe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h