Commit 493f3b1
Align all membership providers: ZooKeeper and Cosmos cleanup non-Active stale entries
- CosmosMembershipTable: remove all non-Active stale entries (was only Dead),
using proper Math.Max(IAmAliveTime, StartTime) timestamp check
- ZooKeeperBasedMembershipTable: implement CleanupDefunctSiloEntries (was
NotImplementedException) to delete non-Active stale entries
Co-authored-by: rkargMsft <164392675+rkargMsft@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/orleans/sessions/cfa9474b-c8f1-4707-b13e-8ac1054679e71 parent 3d056d3 commit 493f3b1
2 files changed
Lines changed: 21 additions & 2 deletions
File tree
- src
- Azure/Orleans.Clustering.Cosmos/Membership
- Orleans.Clustering.ZooKeeper
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
339 | 355 | | |
340 | 356 | | |
341 | 357 | | |
| |||
0 commit comments