F #4809: Start/Stop zone replication threads when adding/deleting zones

This commit is contained in:
Ruben S. Montero committed 2017-06-13 17:48:28 +02:00
1 parent 9c0e7c8023
commit 2f5a3185df
2 files changed
+4

No files matched your search

+2
View File
@@ -980,6 +980,8 @@ Request::ErrorCode ZoneAllocate::pool_allocate(
return Request::INTERNAL;
}
Nebula::instance().get_frm()->add_zone(id);
return Request::SUCCESS;
}
+2
View File
@@ -395,6 +395,8 @@ int ZoneDelete::drop(PoolObjectSQL * object, bool recursive,
aclm->del_zid_rules(oid);
}
Nebula::instance().get_frm()->delete_zone(oid);
return rc;
}