Commit 61fee0e
committed
rgw/multisite/datalog: Decrement with grace period
This guards against an excess decrement in the sequence:
RGW_a: Fetch sem_set (see key 'foo')
RGW_b: run renew_entry ('foo' is no longer in `cur_cycle`)
RGW_a: notify (does not see 'foo' in response)
RGW_a: Decrements 'foo'
Signed-off-by: Adam Emerson <[email protected]>1 parent b228673 commit 61fee0e
File tree
3 files changed
+19
-3
lines changed- src
- cls/sem_set
- rgw/driver/rados
3 files changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1466 | 1466 | | |
1467 | 1467 | | |
1468 | 1468 | | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
1469 | 1474 | | |
1470 | 1475 | | |
1471 | 1476 | | |
| |||
1676 | 1681 | | |
1677 | 1682 | | |
1678 | 1683 | | |
| 1684 | + | |
1679 | 1685 | | |
1680 | 1686 | | |
1681 | 1687 | | |
| |||
1686 | 1692 | | |
1687 | 1693 | | |
1688 | 1694 | | |
| 1695 | + | |
1689 | 1696 | | |
1690 | 1697 | | |
1691 | | - | |
| 1698 | + | |
1692 | 1699 | | |
1693 | 1700 | | |
1694 | 1701 | | |
| |||
1700 | 1707 | | |
1701 | 1708 | | |
1702 | 1709 | | |
| 1710 | + | |
1703 | 1711 | | |
1704 | 1712 | | |
1705 | 1713 | | |
| |||
1727 | 1735 | | |
1728 | 1736 | | |
1729 | 1737 | | |
1730 | | - | |
| 1738 | + | |
1731 | 1739 | | |
1732 | 1740 | | |
1733 | 1741 | | |
| |||
1747 | 1755 | | |
1748 | 1756 | | |
1749 | 1757 | | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
1750 | 1762 | | |
1751 | 1763 | | |
1752 | 1764 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
| |||
524 | 525 | | |
525 | 526 | | |
526 | 527 | | |
| 528 | + | |
527 | 529 | | |
528 | 530 | | |
529 | 531 | | |
| |||
0 commit comments