Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6043

[linearstore] Add a configuration option to overwrite files returned to the EFP

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • C++ Broker
    • None

    Description

      The linearstore returns used files to the Empty File Pool when they are no longer in use in a journal. Under normal use, the header of the file is reset (partly overwritten so that it cannot again be used with any journal), and a new header written when the file is once again used in a journal. However, the data within the journal remains. The header structure, particularly the use of serial numbers in the file and record headers, and the use of record checksums guarantee that old data can never be recovered as part of a newer journal.

      However, as an added security feature, an option which will completely erase the data content of the file would be useful. This comes with a performance penalty, which will have to be quantified when a solution is proposed.

      The proposed linearstore option is:

      --overwrite-before-return [true|false|yes|no|1|0]

      Attachments

        Activity

          People

            kpvdr Kim van der Riet
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: