Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.6.0, 6.6.1, 6.6.2, Cheshire-Cat
-
Enterprise Edition 7.0.0 build 4342
-
Untriaged
-
1
-
Unknown
Description
Description:
Cbbackupmgr segfaults when taking a one off backup service backup while using Samba.
Steps to reproduce:
- 3 nodes with the backup service running on all nodes.
- Created a samba share and mounted it on all 3 nodes.
- Created a repository which takes the mounted folder as the archive location.
- Took a one off backup.
What happens:
The backup fails with the following error present in the logs:
backup-0.log |
2021-02-01T04:52:14.627-08:00 WARN: (DCP) (default) (vb 267) Received an unexpected error from the sink callback, beginning teardown: failed to open vBucket: failed to open vBucket 267: failed to open vBucket 267: failed to open index: failed to set 'user_version': SQLite database file is locked by another thread/process, see the logs for more information -- couchbase.(*DCPAsyncWorker).handleDCPError() at dcp_async_worker.go:553
|
2021-02-01T04:52:14.627-08:00 (DCP) (default) (vb 267) Stream closed because all items were streamed | {"uuid":201080789249662,"snap_start":0,"snap_end":2,"snap_complete":true,"last_seqno":0,"retries":0}
|
panic: runtime error: invalid memory address or nil pointer dereference
|
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xbd5249]
|
goroutine 271 [running]:
|
github.com/couchbase/backup/storage.(*RiftDB).Commit(0xc00007d360, 0xc000456758, 0xc000456760)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/backup/storage/rift.go:321 +0xc9
|
github.com/couchbase/backup/storage.(*VBucketBackupWriter).closeVBucket(0xc0005c1500, 0xc00043010b, 0x1, 0x4514f6)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/backup/storage/vbucket_backup_writer.go:452 +0x218
|
github.com/couchbase/backup/storage.(*VBucketBackupWriter).CloseVBuckets.func1(0xc000303ec4, 0xc000456700, 0xc0005c1500, 0xc000db32c0)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/backup/storage/vbucket_backup_writer.go:144 +0x8b
|
created by github.com/couchbase/backup/storage.(*VBucketBackupWriter).CloseVBuckets
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/backup/storage/vbucket_backup_writer.go:140 +0x145
|
What I expected to happen:
Expected the backup to succeed.
Logs:
Attachments
Issue Links
- relates to
-
DOC-8097 Document that users should use the 'nobrl' option when mounting SMB share
- Resolved