Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.2
    • None
    • None
    • Low

    Description

      If we know that all replicas are down at the beginning of a mutation, we will write a hint and return success.

      But if we do not, we will attemp to write to replicas, time out, return failure, and then write a hint, violating our contract that (unless the coordinator goes down), writes at CL.ANY should always succeed.

      Attachments

        1. 6132.txt
          6 kB
          Jonathan Ellis
        2. 6132-v2.txt
          7 kB
          Jonathan Ellis

        Activity

          jbellis Jonathan Ellis added a comment -

          Patch attached against 1.2.

          jbellis Jonathan Ellis added a comment - Patch attached against 1.2.

          Huh, are you sure? It doesn't build for me (WriteCallbackInfo?).

          aleksey Aleksey Yeschenko added a comment - Huh, are you sure? It doesn't build for me (WriteCallbackInfo?).
          jbellis Jonathan Ellis added a comment -

          v2

          jbellis Jonathan Ellis added a comment - v2

          +1

          aleksey Aleksey Yeschenko added a comment - +1
          jbellis Jonathan Ellis added a comment -

          committed w/ additional comment

          jbellis Jonathan Ellis added a comment - committed w/ additional comment
          jbellis Jonathan Ellis added a comment -

          This was messier than I thought and (four ninja commits later) I'm not confident all the corner cases are fixed. Reverted from 1.2.x; will fix in 2.0.y only.

          jbellis Jonathan Ellis added a comment - This was messier than I thought and (four ninja commits later) I'm not confident all the corner cases are fixed. Reverted from 1.2.x; will fix in 2.0.y only.

          People

            jbellis Jonathan Ellis
            jbellis Jonathan Ellis
            Jonathan Ellis
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: