Details
Description
The following options need to be removed for cbrecovery:
-k KEY, --key=KEY allow only items with keys that match a regexp
--vbucket-list=VBUCKET_LIST
transfer items from specified vbuckets only
Desc:
- vbucket-list is being calculated internally anyway.
- key could cause data loss anyway, consider scenario:
e.g.
Vbucket 1020 is missing, supposed to contain key-1, and key-2
Say we run cbrecovery with key option on just key-2, so what cbrecovery would do is just load key-2, and mark status of vbucket 1020 as done. So even in the subsequent runs, cbrecovery would fail to detect data loss on vbucket 1020. – We wouldn't want this.