Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-4191

local sparse checkpoint set has a bug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.0.10
    • 3.0.7
    • LiteCore
    • Security Level: Public
    • None
    • 0

    Description

      To be precise, it is in Checkpoint::readJSON(), 

                 if (pending) {
                      for (Array::iterator i(pending); i; ++i) {
                          C4SequenceNumber first = i->asInt();
                          C4SequenceNumber last = (++i)->asInt();
                          if (last >= first)
                              _completed.add(first, first + last);
                       }
                  } else
      

      "if (last >= first)" shouldn't be removed. This test is not in Helium

      Attachments

        Issue Links

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

          Activity

            People

              jianmin.zhao Jianmin Zhao
              jianmin.zhao Jianmin Zhao
              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