Commit 1d24f5c
authored
hold sync_lock for both full_sync calls (#1780)
### WHAT is this pull request doing?
The second `full_sync` was not protected by `@sync_lock`, allowing
concurrent syncs. Nests `@lock` inside `@sync_lock` so all full_sync
calls are serialized.
Related to #1708, Follow-up to #1720, based on review feedback from
@spuun.1 parent 810cbd7 commit 1d24f5c
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
0 commit comments