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

Disable uncommitted reads from WAL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • feature-backlog
    • feature-backlog
    • forestdb
    • Security Level: Public
    • None
    • Untriaged
    • Unknown
    • June 30 - July 18

    Description

      The current WAL implementation allows uncommitted reads. Here is the example scenario:

      1) Writer thread writes SET(K1, V1), but doesn't commit yet.
      2) If a reader thread reads GET(K1), then it will get V1 from the WAL, which is not committed yet.
      3) Writer thread writes additional SETs for other keys, and commits.

      This can be an issue if an application needs transactional support with one writer and multiple readers.

      However, the writer should be able to see its own uncommitted data.

      We can fix this issue by disallowing other readers to see uncommitted reads from WAL.

      Attachments

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

        Activity

          People

            jung-sang Jung-Sang Ahn (Inactive)
            chiyoung Chiyoung Seo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty