}
private Object handleWrite(InvocationContext ctx, WriteCommand command) throws Throwable {
if (!ctx.isOriginLocal() || command.hasFlag(Flag.SKIP_XSITE_BACKUP))
return invokeNextInterceptor(ctx, command);
BackupResponse backupResponse = backupSender.backupWrite(command);
Object result = invokeNextInterceptor(ctx, command);
backupSender.processResponses(backupResponse, command);
return result;
}