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

CBL replication never finishes for replication filtering when doc count is 1000

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • CBL2.6.0-126 (net-msft Windows 10)
      SG 2.5.1-11 (Centos 7)
      CBS 6.0.1-2037 (Centos 7)
    • Medium

    Description

      Replication never finishes for test_replication_pull_filtering and test_replication_filter_access_revoke_document when filtering is done with 1000 docs. For 10 docs and 100 docs, test passes.

      The issue is completed doesn't reaches to the exact count of expected total and after checking for sometime (150 iteration) we closes the replicator.

      PS: This is with delta-sync disabled

      pytest --timeout 3600 --liteserv-version=2.6.0-126 --liteserv-host=10.100.161.140 --liteserv-port=8080 --sg-ssl --enable-file-logging --no-conflicts --sync-gateway-version=2.5.1-11 --mode=cc --server-version=6.0.1-2037 --liteserv-platform=net-msft --create-db-per-test=cbl-test testsuites/CBLTester/CBL_Functional_tests/TestSetup_FunctionalTests -k test_replication_pull_filtering[1000]

      Test Report:
      http://uberjenkins.sc.couchbase.com:8080/job/Net-windows-TestSever-Funtional-tests/982/testReport/junit/testsuites.CBLTester.CBL_Functional_tests.TestSetup_FunctionalTests/test_replication_filtering/test_replication_pull_filtering_1000_/

      As one can see because the replication never completes, we got key_error (additional field added in the doc) for the update on doc.

      Attachments

        1. cbcollect_info.zip
          3.44 MB
        2. log_1563779238.80133.rar
          271 kB
        3. logs.txt
          2.53 MB
        4. po.png
          po.png
          3.11 MB
        5. python_client.log
          209 kB
        6. sgcollect_info.zip
          13.50 MB
        7. unit-test.txt
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Tested with build 2.7.0-34 for iOS and 2.7.0-112 for android. Test is passing. .net app is not available for testing, will close the ticket after .net testing.

          hemant.rajput Hemant Rajput added a comment - Tested with build 2.7.0-34 for iOS and 2.7.0-112 for android. Test is passing. .net app is not available for testing, will close the ticket after .net testing.

          Tested with 2.7.0-37 for .net and test is passing. Hence closing the ticket

          hemant.rajput Hemant Rajput added a comment - Tested with 2.7.0-37 for .net and test is passing. Hence closing the ticket

          Build couchbase-lite-cblite-2.6.0-213 contains couchbase-lite-core commit 7380a17 with commit message:
          CBL-171: Fix Puller not stopping after filter rejects docs

          build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.6.0-213 contains couchbase-lite-core commit 7380a17 with commit message: CBL-171 : Fix Puller not stopping after filter rejects docs

          Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit ef476f5 with commit message:
          CBL-171: Fix Puller not stopping after filter rejects docs

          build-team Couchbase Build Team added a comment - Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit ef476f5 with commit message: CBL-171 : Fix Puller not stopping after filter rejects docs

          Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit ef476f5 with commit message:
          CBL-171: Fix Puller not stopping after filter rejects docs

          build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit ef476f5 with commit message: CBL-171 : Fix Puller not stopping after filter rejects docs

          People

            hemant.rajput Hemant Rajput
            hemant.rajput Hemant Rajput
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty