Details
-
Improvement
-
Resolution: Won't Fix
-
Blocker
-
2.1.0
-
Security Level: Public
-
5
Description
In 2.1, XDCR will be able to replicate documents to remote memcached directly.
In order to allow batch replication, we need at least two new memcached operations, get_meta_batch, and update_meta_batch.
1. get_meta_batch: by this new command ep_engine should receive a list of keys and return a list of metadata for these keys.
2. update_meta_batch: this new command will take a list of (ops, key, metadata) as input and execute them in the same order as the keys ordered in the list. The ops can be either "deleteWithMeta" or "setWithMeta".
For these two new operations, we need to design new protocol (request and response) for ep_engine.
On the ns_server side, we also need to create memcached API for these two new operations. This will be tracked separately.
The first step is to determine the protocol so xdcr and ep_engine team can work in parallel.