Convert OvnDbNotifyHandler rows to frozen rows
In I87489596e2ff224431f7e83f43a1725172ee0953, the intent was to make sure all event rows were converted to "frozen" rows to avoid race conditions. Since OnvDbNotifyHandler.notify() does not call super(), then it is necessary to do this conversion ourselves. Related-Bug: #1896816 Change-Id: Ic281dec74a46c95024a6df1db3b1f9ee7d7d1227
This commit is contained in:
parent
98d12b6f14
commit
27255fce30
|
@ -455,6 +455,7 @@ class OvnDbNotifyHandler(row_event.RowEventHandler):
|
|||
pass
|
||||
|
||||
def notify(self, event, row, updates=None, global_=False):
|
||||
row = idlutils.frozen_row(row)
|
||||
matching = self.matching_events(event, row, updates, global_)
|
||||
for match in matching:
|
||||
self.notifications.put((match, event, row, updates))
|
||||
|
|
Loading…
Reference in New Issue