Commit 8e88f5a
[SPARK-55999][SS] Enable forceSnapshotUploadOnLag by default
### What changes were proposed in this pull request?
1. Config default change (SQLConf.scala): forceSnapshotUploadOnLag default false → true
2. 3 SPARK-51358 tests fixed (StateStoreCoordinatorSuite.scala): Explicitly set forceSnapshotUploadOnLag=false so lag detection tests aren't interfered with by the forced remediation
3. Cleanup (StateStoreCoordinatorSuite.scala): Removed redundant forceSnapshotUploadOnLag -> "true"
### Why are the changes needed?
When state store is lagging in uploading snapshot in maintenance thread, turning on this feature allows state store to upload snapshot in query execution thread, which improves query reliability
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
The feature is tested in #52773
### Was this patch authored or co-authored using generative AI tooling?
yes
Closes #54847 from zifeif2/enable-force-snapshot.
Authored-by: zifeif2 <[email protected]>
Signed-off-by: Anish Shrigondekar <[email protected]>1 parent fb51fb3 commit 8e88f5a
File tree
3 files changed
+10
-5
lines changed- sql
- catalyst/src/main/scala/org/apache/spark/sql/internal
- core/src/test/scala/org/apache/spark/sql
- execution/streaming/state
- internal
3 files changed
+10
-5
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2863 | 2863 | | |
2864 | 2864 | | |
2865 | 2865 | | |
2866 | | - | |
| 2866 | + | |
2867 | 2867 | | |
2868 | 2868 | | |
2869 | 2869 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
| 444 | + | |
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
| |||
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
480 | | - | |
| 481 | + | |
| 482 | + | |
481 | 483 | | |
482 | 484 | | |
483 | 485 | | |
| |||
521 | 523 | | |
522 | 524 | | |
523 | 525 | | |
524 | | - | |
| 526 | + | |
| 527 | + | |
525 | 528 | | |
526 | 529 | | |
527 | 530 | | |
| |||
946 | 949 | | |
947 | 950 | | |
948 | 951 | | |
949 | | - | |
950 | 952 | | |
951 | 953 | | |
952 | 954 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
565 | 568 | | |
566 | 569 | | |
567 | 570 | | |
| |||
0 commit comments