Commit a5900f9
committed
Fix follower proxy TTL check and applyExpire overflow guard
- tryLeaderNonStringExists: check TTL key on leader before reporting
non-string type existence; expired keys return false
- applyExpire: add overflow guard for ttl*unit before time.Duration
conversion, matching SET TTL parsing behavior1 parent 7d1dedd commit a5900f9
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
| 833 | + | |
| 834 | + | |
834 | 835 | | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
835 | 842 | | |
836 | 843 | | |
837 | 844 | | |
| |||
1510 | 1517 | | |
1511 | 1518 | | |
1512 | 1519 | | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1513 | 1523 | | |
1514 | 1524 | | |
1515 | 1525 | | |
| |||
0 commit comments