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

MagmaEncryption: Stop using old key immediately upon new key configuration

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • storage-engine

    Description

      Not a P0 requirement yet, but ideally once SetCurrentKey is called (to set a new master key), we should immediately start using it.

      This means any append writers/wal segments open must be forced to close and new ones must be started.

       

      Inside of BeginTxn, we can add checks to see if master key has changed and accordingly close current segment and start a new one. 

      Similarly, inside of LSMTree flush, we can do the same check and terminate the append writer and start a new one.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rohan.suri Rohan Suri
            rohan.suri Rohan Suri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty