Race condition in journal between event write and thread processing
Bug #1569986 reported by
Mike Kolesnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-odl |
Fix Released
|
Undecided
|
Mike Kolesnik |
Bug Description
Journal rows are written in the pre-commit hook, thus available only when the original operation (i.e. add port) commits.
The journal is triggered on the end of the pre-commit hook to handle the event asynchronously with a new DB transaction.
Therefore, if the commit doesn't happen before the journal tries to read the row it won't see it yet and the processing will only occur on the next thread run (after interval has passed).
Changed in networking-odl: | |
assignee: | nobody → Mike Kolesnik (mkolesni) |
To post a comment you must log in.
good point!