Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1363

callback invocation for docs added during couch_changes startup can be delayed by race condition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.3, 1.1.1
    • 1.2, 1.2.1, 1.3
    • Database Core
    • None

    Description

      After subscribing to notifications it's necessary to re-open the #db a so that the header points at all updates for which the updater notifier has already fired events. In practice, this is rarely problematic because the next change will cause everything to catch up, but if a quick burst of changes happens while, e.g., replication is starting the replication can go stale. Detected by intermittent replicator_db js test failures.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tilgovi Randall Leeds
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: