Commit 3b0bbf1
committed
correct infinite discovery retry loop when data cf not yet synced on replica
when discover_table returned a valid frm but the data column family
hadn't been synced from s3 yet, handler::open() failed with
HA_ERR_NO_SUCH_TABLE. mariadb saw discover_table registered plus
that error code and triggered OPEN_FRM_DISCOVER backoff: delete frm,
re-discover, write frm, open fails, repeat forever. now
discover_table verifies the data cf exists before returning the frm.1 parent 8f9020c commit 3b0bbf1
File tree
2 files changed
+44
-19
lines changed- .github/workflows
- tidesdb
2 files changed
+44
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 537 | + | |
| 538 | + | |
542 | 539 | | |
543 | 540 | | |
544 | | - | |
| 541 | + | |
545 | 542 | | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
546 | 548 | | |
547 | 549 | | |
548 | 550 | | |
| |||
667 | 669 | | |
668 | 670 | | |
669 | 671 | | |
| 672 | + | |
670 | 673 | | |
671 | 674 | | |
672 | 675 | | |
673 | 676 | | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
680 | 680 | | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
681 | 691 | | |
682 | | - | |
683 | 692 | | |
684 | 693 | | |
685 | 694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2371 | 2371 | | |
2372 | 2372 | | |
2373 | 2373 | | |
2374 | | - | |
| 2374 | + | |
2375 | 2375 | | |
2376 | 2376 | | |
2377 | 2377 | | |
| |||
2539 | 2539 | | |
2540 | 2540 | | |
2541 | 2541 | | |
2542 | | - | |
| 2542 | + | |
2543 | 2543 | | |
2544 | 2544 | | |
2545 | 2545 | | |
| |||
2569 | 2569 | | |
2570 | 2570 | | |
2571 | 2571 | | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
2572 | 2588 | | |
2573 | 2589 | | |
2574 | 2590 | | |
| |||
2588 | 2604 | | |
2589 | 2605 | | |
2590 | 2606 | | |
2591 | | - | |
| 2607 | + | |
2592 | 2608 | | |
2593 | 2609 | | |
2594 | 2610 | | |
| |||
2687 | 2703 | | |
2688 | 2704 | | |
2689 | 2705 | | |
2690 | | - | |
| 2706 | + | |
2691 | 2707 | | |
2692 | 2708 | | |
2693 | 2709 | | |
| |||
6689 | 6705 | | |
6690 | 6706 | | |
6691 | 6707 | | |
6692 | | - | |
| 6708 | + | |
6693 | 6709 | | |
6694 | 6710 | | |
6695 | 6711 | | |
| |||
0 commit comments