Commit dadb715
Guard checkpointing on checkpoint_path or get_state_callback
Makes save_checkpoint a no-op when neither checkpoint_path nor
get_state_callback is provided. This avoids spurious checkpoint
errors in the Go engine where Spanner handles state persistence.
PiperOrigin-RevId: 975818621
Change-Id: I183e5f10ef2c44902dedb1ec5fd00876710415d71 parent 9c6150c commit dadb715
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
283 | 286 | | |
284 | 287 | | |
285 | 288 | | |
| |||
518 | 521 | | |
519 | 522 | | |
520 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
521 | 527 | | |
522 | 528 | | |
523 | 529 | | |
| |||
0 commit comments