Commit ca86656
committed
store: Address comments and move evaluations until they are needed.
Move deployment exists check into the graft_base branch so the DB exists call is only executed when we actually are creating a graft.
Rename needs_check → should_validate and add a clear comment describing the validation cases.
Avoid calling layout unless validation is required and keep shard connections short‑lived (acquire/drop per use) to reduce connection deadlock risk.
Signed-off-by: Maksim Dimitrov <dimitrov.maksim@gmail.com>1 parent 0d307c9 commit ca86656
1 file changed
+12
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | 368 | | |
380 | | - | |
381 | | - | |
382 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
383 | 380 | | |
384 | 381 | | |
| 382 | + | |
385 | 383 | | |
386 | 384 | | |
387 | 385 | | |
| |||
0 commit comments