Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
/* we now need to make sure that the operation actually requires copy source, that is
* it's a copy operation
*/
- if (store->get_zonegroup().is_master && s->op == OP_DELETE && s->system_request) {
- /*If the operation is delete and if this is the master, don't redirect*/
+ if (store->get_zonegroup().is_master && s->system_request) {
+ /*If this is the master, don't redirect*/
} else if (!s->local_source ||
(s->op != OP_PUT && s->op != OP_COPY) ||
s->object.empty()) {