You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CA-390025: do not override SR's client-set metadata on update (#6165)
Some plugins may not store the client-set metadata, and return a static
value
when replying to the update. This would override the values that a
client
used when the SR was created, or set afterwards, which is unexpected.
Now name_label and name_description fields returned by the plugins are
ignored
on update.
Current set_name_label and set_name_description rely on the update
mechanism to
work. Instead, add database call at the end of the methods to ensure
both xapi
and the SR backend are synchronized, even when the latter fails to
update the
values.
Tested on GFS2 tests (JR 4175192), as well as ring3 bvt + bst (209177),
and storage validation tests (SR 209180)
0 commit comments