mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
F #4809: Start/Stop zone replication threads when adding/deleting zones
This commit is contained in:
1 parent
9c0e7c8023
commit
2f5a3185df
2 files changed
+4
No files matched your search
@@ -980,6 +980,8 @@ Request::ErrorCode ZoneAllocate::pool_allocate(
|
||||
return Request::INTERNAL;
|
||||
}
|
||||
|
||||
Nebula::instance().get_frm()->add_zone(id);
|
||||
|
||||
return Request::SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user