Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62496

KV callback to read metadata out of snapshot

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0, 7.6.2, 7.6.1
    • couchbase-bucket
    • None

    Description

      Magma will invoke a callback in KV every time it hardlinks some seqno index files to be backed up.This callback should be of the form:

      void (*cb)(KVStoreID kv_id, Magma::Snapshot& snapshot, std::function<void(std::string&)> writer_fn)
      

      and when called it should serialise into json the failover table for the vBucket and the max CAS (both read from the local index in the snapshot) and call write_fn with it.

      Attachments

        For Gerrit Dashboard: MB-62496
        # Subject Branch Project Status CR V

        Activity

          People

            vesko.karaganev Vesko Karaganev
            Matt.Hall Matt Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change

                PagerDuty