Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.0
-
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]
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
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | log_1563779238.80133.rar [ 71186 ] |
Summary | CBL replication never finishes for pull filtering when doc count is 1000 | CBL replication never finishes for replication filtering when doc count is 1000 |
Description |
Replication never finishes for test_replication_pull_filtering when pull 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. |
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. |
Assignee | The Lite [ cbgto ] | Sandy Chuang [ sandy.chaung ] |
Component/s | iOS [ 15348 ] |
Attachment | unit-test.txt [ 71268 ] |
Attachment | logs.txt [ 71269 ] |
Attachment | po.png [ 71270 ] |
Fix Version/s | Cobalt [ 16173 ] |
Component/s | LiteCore [ 15347 ] | |
Component/s | .NET [ 15346 ] | |
Component/s | iOS [ 15348 ] |
Assignee | Sandy Chuang [ sandy.chaung ] | Jens Alfke [ jens ] |

Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Actual End | 2019-07-30 17:09 (issue has been closed) |
Remote Link | This issue links to "Page (Couchbase, Inc. Wiki)" [ 18339 ] |
Assignee | Jens Alfke [ jens ] | Hemant Rajput [ hemant.rajput ] |
Remote Link | This issue links to "Page (Couchbase, Inc. Wiki)" [ 18339 ] |
Assignee | Hemant Rajput [ hemant.rajput ] | The Lite [ cbgto ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Fix Version/s | Mercury [ 16188 ] | |
Fix Version/s | 2.6.0 [ 16173 ] |

Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Assignee | The Lite [ cbgto ] | Hemant Rajput [ hemant.rajput ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Seems like the status of the replicator is incorrect(i have manually added the progress of the replicator in the lite core, not part of default log).
CouchbaseLite Replicator Info: {Repl#8} pushStatus=stopped, pullStatus=busy, progress=42792/56992
If we write a unit test with a timeout ~100seconds, and replicate ~400 docs in which 200 should be rejected. then this can be reproduced. Find the attached unit-test.txt
and logs.txt
If i check the db elements count, i can see there are 201 documents. and progress as well.
cc. Jim Borden