Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use set_with_meta instead of add_with_meta for new items
Even for an add through xdcr, ep-engine creates a temp item and returns its CAS, which is supposed to be used while issuing the add later. This is similar to issuing a set_with_meta command. Hence, add_with_meta is redundant and can be removed. Change-Id: Ic7339c74f7c2dd09f5b5e0516809e93085015567 Reviewed-on: http://review.couchbase.org/13658 Tested-by: Srinivas Vadlamani <srinivas@couchbase.com> Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com> Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
- Loading branch information