Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ocaml/xapi/dbsync_slave.ml
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ let update_env __context sync_keys =
try
let cache_sr = Db.Host.get_local_cache_sr ~__context ~self:(Helpers.get_localhost ~__context) in
let cache_sr_uuid = Db.SR.get_uuid ~__context ~self:cache_sr in
Db.SR.set_local_cache_enabled ~__context ~self:cache_sr ~value:true;
Monitor.set_cache_sr cache_sr_uuid
with _ -> Monitor.unset_cache_sr ()
end;
Expand Down