Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1187

lcb_respexists_is_found returns true for documents which have been removed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 3.0.0
    • None
    • None
    • 1

    Description

      If you upsert a doc, and then remove it at some point later, you will get LCB_ERR_DOCUMENT_NOT_FOUND. But, if you see if it exists after that, the lcb_respexists_is_found actually still returns true. Looking at the exists.cc, things look reasonable. Perhaps a document that has been removed recently still exists (marked as deleted) and we end up with LCB_SUCCESS in the rc for those?

      This is really on latest master (though I marked it as 3.0.0, it is later than that)

      Attachments

        For Gerrit Dashboard: CCBC-1187
        # Subject Branch Project Status CR V

        Activity

          People

            david.kelly David Kelly (Inactive)
            david.kelly David Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty