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

Shrink magma metadata

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • couchbase-bucket
    • None
    • Triaged
    • 1
    • No
    • KV-Engine Sprint 2021 August, KV-Engine-Sept-21

    Description

      An extension from MB-48033. We can save 6 bytes of every committed item by not storing the durability info. We already have a version field in the metadata to determine which version is which.

      It makes sense to do this before Neo as we don't care about backward compatibility yet.

      We can also shrink the bySeqno field by using cb::uint48_t and we can remove the vbid field if we pass it to the compaction context builder from magma.

      Attachments

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

        Activity

          People

            ben.huddleston Ben Huddleston
            ben.huddleston Ben Huddleston
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty