This repository was archived by the owner on Aug 12, 2020. It is now read-only.
Commit 462d2f4
committed
End import stream after all writes.
Previously it would be possible for certain writes to the DAG Service to
occur *after* the stream had ended, meaning the Importer would return
objects that did not yet exist in the DAG Service.
This change defers stream termination until after those writes have
occurred, to preserve the powerful invariant of "element emission =>
written to dag service".1 parent b177a08 commit 462d2f4
1 file changed
+24
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
247 | | - | |
| 249 | + | |
248 | 250 | | |
249 | 251 | | |
250 | 252 | | |
| |||
264 | 266 | | |
265 | 267 | | |
266 | 268 | | |
| 269 | + | |
| 270 | + | |
267 | 271 | | |
| 272 | + | |
268 | 273 | | |
269 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
270 | 287 | | |
271 | 288 | | |
272 | 289 | | |
273 | 290 | | |
274 | 291 | | |
275 | 292 | | |
276 | 293 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | 294 | | |
285 | 295 | | |
286 | 296 | | |
287 | | - | |
288 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
289 | 302 | | |
290 | 303 | | |
291 | 304 | | |
0 commit comments