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

Continuous push attempts to replicate purged documents

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 3.0
    • LiteCore
    • Security Level: Public
    • None
    • Jianmin 50
    • 3

    Description

      As reported on the forum, purging a document while a continuous push replication is running causes the pusher to try to send the nonexistent document.

      It's a simple bug in Pusher::dbChanged() – the code does not take into account that a C4DatabaseChange can represent a purge. It should ignore such change entries.

      This does not appear to be causing any significant problems, just unexpected logs.

      Attachments

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

        Activity

          jens Jens Alfke created issue -
          jens Jens Alfke made changes -
          Field Original Value New Value
          Summary Continuous push attempts to replicate a purged document Continuous push attempts to replicate purged documents
          daniel.petersen Daniel Petersen made changes -
          Fix Version/s Hydrogen [ 16189 ]
          daniel.petersen Daniel Petersen made changes -
          Story Points 3
          daniel.petersen Daniel Petersen made changes -
          Fix Version/s Lithium [ 16190 ]
          Fix Version/s Hydrogen [ 16189 ]
          Priority Minor [ 4 ] Major [ 3 ]
          jimb Jim Borden made changes -
          Rank Ranked higher
          jimb Jim Borden made changes -
          Assignee The Lite [ cbgto ] Jim Borden [ jimb ]
          jimb Jim Borden made changes -
          Rank Ranked higher
          jimb Jim Borden made changes -
          Rank Ranked lower
          daniel.petersen Daniel Petersen made changes -
          Required Mobile Fields Mandatory:
           - CBL / SG Version:
             - SG Config:
           - Steps to Reproduce:
           - Actual Result:
           - Expected Result:
           - Logs :
                SGW LOGS: sgcollect info
                CBL LOGS:
                Logcat LOGS: for Android tickets
           - Github link for the code:
           - Jenkins job failure link:
           - Pytest Command
           - What is the last build this test passed:
          jimb Jim Borden made changes -
          Rank Ranked lower
          jimb Jim Borden made changes -
          Assignee Jim Borden [ jimb ] The Lite [ cbgto ]
          jimb Jim Borden made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          daniel.petersen Daniel Petersen made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          jimb Jim Borden made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          daniel.petersen Daniel Petersen made changes -
          Assignee The Lite [ cbgto ] Jianmin Zhao [ JIRAUSER25274 ]
          daniel.petersen Daniel Petersen made changes -
          Sprint Jianmin 50 [ 1670 ]
          daniel.petersen Daniel Petersen made changes -
          Rank Ranked higher
          jianmin.zhao Jianmin Zhao made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          jianmin.zhao Jianmin Zhao made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            jianmin.zhao Jianmin Zhao
            jens Jens Alfke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty