Commit 4a5259e
committed
firewalldb: best effort tight coupling of actions and sessions
In this commit, we do our best to ensure that at least at the time of
action creation, if the session ID is set, then our bbolt actions store
impl will at least first check that the session really does exist. This
also forces us to update our tests in preparation for the SQL store
which will tightly couple the actions and sessions.1 parent a513aae commit 4a5259e
File tree
3 files changed
+142
-87
lines changed- firewalldb
3 files changed
+142
-87
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
60 | 72 | | |
61 | 73 | | |
62 | 74 | | |
| |||
69 | 81 | | |
70 | 82 | | |
71 | 83 | | |
72 | | - | |
| 84 | + | |
73 | 85 | | |
74 | 86 | | |
75 | 87 | | |
| |||
0 commit comments