{"shas":[["3026c0ba604050f4a24c3cccde611fab3a75926d","37b74501daa612e48fea94f9846ed4ddeb6a8f07@citrix.com","Add CLI getter for field VDI.metadata_latest.\n\nSigned-off-by: John Else <john.else@citrix.com>","John Else"],["ad1bd7122ee3601cb6a9dbf4c79dfbbd95fc9df1","37b74501daa612e48fea94f9846ed4ddeb6a8f07@citrix.com","Disallow opening databases from VDIs of type redo_log.\n\nSigned-off-by: John Else <john.else@citrix.com>","John Else"],["553cb9b10e1b474879021ebf6c8f54e9775274e4","37b74501daa612e48fea94f9846ed4ddeb6a8f07@citrix.com","Keep track of metadata_latest of foreign database VDIs.\n\n- On PBD.plug, all contained metadata VDIs and the generation counts\n  of the databases they contain are added to a cache.\n- For each pool for which metadata VDIs exist, this cache is used to\n  find the highest known database generation count of all the metadata\n  VDIs for that pool, and metadata_latest is set to true for all VDIs\n  which contain databases with this generation count.\n- On PBD.unplug, all contained metadata VDIs are removed from the cache\n  and have their metadata_latest flag set to false.\n- The metadata_latest flag is then recalculated for the VDIs which\n  remain in the cache.\n\nSigned-off-by: John Else <john.else@citrix.com>","John Else"],["1cfdf17522bad84589cd100bfcaa49fb081d462f","37b74501daa612e48fea94f9846ed4ddeb6a8f07@citrix.com","Fixes for PBD.{plug|unplug}\n\n- On PBD.plug or unplug, require SRMaster to be true before\n  starting/stopping database replication to metadata VDIs, or\n  adding/removing foreign metadata VDIs from the cache.\n- On PBD.plug, catch any and all exceptions when trying to re-enable\n  database replication to the SR - if this fails then PBD.plug should\n  continue as normal.\n- On PBD.unplug, check that there are no active non-metadata VDIs before\n  disabling database replication. If there are active non-metadata VDIs\n  then the PBD.unplug will fail, so database replication shouldn't be\n  disabled yet.\n\nSigned-off-by: John Else <john.else@citrix.com>","John Else"],["af6e39cdc8533d6b19853aed26b8d27ada2ea38f","37b74501daa612e48fea94f9846ed4ddeb6a8f07@citrix.com","Bugfix for sr_probe parsing.\n\nDR_task.create no longer fails if an SR has an empty name_description.\n\nSigned-off-by: John Else <john.else@citrix.com>","John Else"]],"repo":"xen-org/xen-api","actor":"johnelse","ref":"refs/heads/pr-1223","size":5,"head":"af6e39cdc8533d6b19853aed26b8d27ada2ea38f","actor_gravatar":"f25c2b6770fff75ccef73d49bf25525a","push_id":27674926}