mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-22 16:36:03 +01:00
65b4ef1f37
The problem was that the License Manager was listening to PropertyChanged events on the master only, not on slaves. When the master's properties change (e.g. edition) we update the row in the license manager; but in some cases a slave (or more) hasn't been updated yet (as it may be updated in another event.from) and we think that the pool is partially updated. Our solution is to listen to Host BatchCollectionChanged event, which is triggered once per cache update for the host collection (it any property changed for any of the hosts). The sleep in the ApplyLicenseEditionAction is not needed anymore, nor is the extra call to update the cell after the action is completed, because the cell is getting updated correctly on the BatchCollectionChanged event. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com> |
||
---|---|---|
.. | ||
ActivationProxy.cs | ||
ActivationRequestAction.cs | ||
ApplyLicenseAction.cs | ||
ApplyLicenseEditionAction.cs | ||
ChangeHostPasswordAction.cs | ||
DestroyHostAction.cs | ||
DestroyHostCrashDumpAction.cs | ||
DisableHostAction.cs | ||
EditMultipathAction.cs | ||
EnableHostAction.cs | ||
EvacuateHostAction.cs | ||
ExecutePluginAction.cs | ||
FibreChannelProbeAction.cs | ||
GetServerTimeAction.cs | ||
GetSystemStatusCapabilities.cs | ||
HostAbstractAction.cs | ||
HostBackupRestoreAction.cs | ||
HostPowerOnAction.cs | ||
HostWithStatus.cs | ||
LicensingHelper.cs | ||
RebootHostAction.cs | ||
RestartToolstackAction.cs | ||
SavePowerOnSettingsAction.cs | ||
ShutdownHostAction.cs | ||
SingleHostStatusAction.cs | ||
SystemStatusAction.cs | ||
TestLocationInstallerAction.cs | ||
VMsWhichCanBeMigratedAction.cs |