Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6836

WriteTimeoutException always reports that the serial CL is "SERIAL"

    XMLWordPrintableJSON

Details

    • Low

    Description

      In StorageProxy.proposePaxos, the WriteTimeoutException is thrown with information about the consistency level. This CL is hardcoded to ConsistencyLevel.SERIAL, which might be wrong when LOCAL_SERIAL is used:

              if (timeoutIfPartial && !callback.isFullyRefused())
                  throw new WriteTimeoutException(WriteType.CAS, ConsistencyLevel.SERIAL, callback.getAcceptCount(), requiredParticipants);
      

      Suggested fix: pass consistencyForPaxos as a parameter to proposePaxos().

      Attachments

        1. trunk-6836.txt
          2 kB
          Irfan Nagoo

        Issue Links

          Activity

            People

              irfan.nagoo Irfan Nagoo
              nff Nicolas Favre-Felix
              Irfan Nagoo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: