Details
-
Bug
-
Resolution: Unresolved
-
Blocker
-
2.5.0
-
Security Level: Public
-
None
-
CBG Sprint 14
-
5
Description
SGW version : 2.5.0-222
Steps to reproduce :
1. Create docs in CBL
2. Do push replication
3. update docs in SGW with attachment
4. Do pull replication
5. Verify cbl doc and SGW doc.
Actual behavior:
Whatever update done at step#3 is not replicated to cbl.
Failing with error :
cbl error :
CouchbaseLite Replicator ERROR: {IncomingBlob#18} Got error response: HTTP 403 'Attachment's doc not being synced'
SGW error:
2019-02-10T05:28:33.931Z [INF] SyncMsg: c:[53e35ebd] #3: Type:getAttachment Digest:sha1-x6zPGLnfGXxKdGqxUN2YzvFGdho= User:autotest
2019-02-10T05:28:33.931Z [INF] SyncMsg: c:[53e35ebd] #3: Type:getAttachment --> 403 Attachment's doc not being synced Time:1.381411ms User:autotest
Expected behavior:
cbl and sgw doc should look same and replication should happen with update made at step 3
SGW logs : attachment_missing.zip
cbl logs : https://gist.github.com/sridevi-15/b15947370a8ae6247737b459c4f34fcc
Test in repo : https://github.com/couchbaselabs/mobile-testkit/blob/features/cbl2.5-deltasync-2/testsuites/CBLTester/CBL_Functional_tests/TestSetup_FunctionalTests/test_delta_sync.py#L24