Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.5.1, 6.5.0
-
Triaged
-
Yes
Description
Problem
When backing up documents with large rev cbbackup will crash:
Traceback (most recent call last):
|
File "/opt/couchbase/lib/python/runtime/lib/python3.7/threading.py", line 917, in _bootstrap_inner
|
self.run()
|
File "/opt/couchbase/lib/python/runtime/lib/python3.7/threading.py", line 865, in run
|
self._target(*self._args, **self._kwargs)
|
File "/opt/couchbase/lib/python/pump.py", line 446, in run_worker
|
curx).run()
|
File "/opt/couchbase/lib/python/pump.py", line 504, in run
|
rv_batch, batch = self.source.provide_batch()
|
File "/opt/couchbase/lib/python/pump_dcp.py", line 254, in provide_batch
|
rv, batch = self.provide_dcp_batch_actual()
|
File "/opt/couchbase/lib/python/pump_dcp.py", line 413, in provide_dcp_batch_actual
|
msg = (cmd, vbucket_id, key, flg, exp, cas, rev_seqno.to_bytes(4, 'big'), val, seqno, dtype, metalen,
|
OverflowError: int too big to convert
|
This affects cbtransfer when dcp is being used.
Steps to reproduce
- Create a document with a large rev
- Run cbbackup:
Expectations
For cbbackup to be able to back up all documents
Attachments
Issue Links
- relates to
-
MB-33810 cbbackup can't backup mutations with rev over 256
-
- Closed
-
For Gerrit Dashboard: MB-38683 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
125336,3 | MB-38683 Handle DCP mutations with Rev over 2^32 | mad-hatter | couchbase-cli | Status: MERGED | +2 | +1 |
131645,1 | Merge branch 'mad-hatter' | master | couchbase-cli | Status: MERGED | +2 | +1 |