Details
Description
I'm trying to backup my cluster via cbbackup. I start the backup via
/opt/couchbase/bin/cbbackup couchbase://Administrator:password@mymachine:8091 /backups/couchbase_backup_test
The backup appears to work fine and a progress bar appears, but then exceeds 100% progress and never stops! Example:
^Cinterrupted.###############################] 210.8% (26141950/12403784 msgs)
(I ctrl-C'd to kill it after 200% because it seems that this can't possibly work. Note that both the percent and the number of messages are off). I only have ~12 million items in the bucket, but it went right past that limit when backing up.
Help?
/opt/couchbase/bin/cbbackup couchbase://Administrator:password@mymachine:8091 /backups/couchbase_backup_test
The backup appears to work fine and a progress bar appears, but then exceeds 100% progress and never stops! Example:
^Cinterrupted.###############################] 210.8% (26141950/12403784 msgs)
(I ctrl-C'd to kill it after 200% because it seems that this can't possibly work. Note that both the percent and the number of messages are off). I only have ~12 million items in the bucket, but it went right past that limit when backing up.
Help?
Activity
Mike Wiederhold
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Mike Wiederhold [ mikew ] |
Steve Yen
made changes -
| Assignee | Mike Wiederhold [ mikew ] | Steve Yen [ steve ] |
Steve Yen
made changes -
| Labels | 2.0-release-notes |
Steve Yen
made changes -
| Fix Version/s | 2.0.2 [ 10418 ] | |
| Fix Version/s | 2.0 [ 10114 ] | |
| Affects Version/s | 2.0-beta-2 [ 10385 ] |
Steve Yen
made changes -
| Fix Version/s | 2.0.1 [ 10399 ] | |
| Fix Version/s | 2.0.2 [ 10418 ] |
Dipti Borkar
made changes -
| Priority | Major [ 3 ] | Critical [ 2 ] |
Dipti Borkar
made changes -
| Priority | Critical [ 2 ] | Blocker [ 1 ] |
Steve Yen
made changes -
| Assignee | Steve Yen [ steve ] | Bin Cui [ bcui ] |
Farshid Ghods
made changes -
| Fix Version/s | 2.1 [ 10414 ] | |
| Fix Version/s | 2.0.1 [ 10399 ] |
Dipti Borkar
made changes -
| Fix Version/s | 2.0.2 [ 10418 ] | |
| Fix Version/s | 2.1 [ 10414 ] |
Anil Kumar
made changes -
| Sprint | PCI Team - Sprint 4 [ 7 ] |
Anil Kumar
made changes -
| Rank | Ranked higher |
Anil Kumar
made changes -
| Rank | Ranked higher |
Maria McDuff
made changes -
| Assignee | Bin Cui [ bcui ] | Abhinav Dangeti [ abhinav ] |
Abhinav Dangeti
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Maria McDuff
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Bala Sharma
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
| Assignee | Abhinav Dangeti [ abhinav ] | Steve Yen [ steve ] |
Bin Cui
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Won't Fix [ 2 ] |
Bin Cui
made changes -
| Assignee | Steve Yen [ steve ] | Bin Cui [ bcui ] |
Perry Krug
made changes -
| Resolution | Won't Fix [ 2 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
- cbbackup first contacts the server to get the # of items. But, if the cluster is changing (there are item mutations), that # of items will just be an estimate.
- then, cbbackup uses the TAP protocol to perform the backup. But, under some conditions (not all item values are resident in memory), the TAP protocol might actually send duplicate messages. That's why cbbackup reports "msgs" for progress instead of "items" in its numerator, but uses "items" in its denominator. That can lead to >100% in some cases.
Whether it leads to >200% is somewhat unexpected, but it depends on the situation and what couchbase server is doing in generating the TAP stream.