Skip to content

Conversation

@kart2bc
Copy link
Contributor

@kart2bc kart2bc commented Sep 26, 2025

Summary

Converge loop attempts to unclaim the stale lrps. However, if that lrp is claimed by another cell, then it should not change the status.

rows, err := c.selectStaleUnclaimedLRPs(ctx, logger, c.db, now)

The above method only looks for an unclaimed lrp which sits for 30 sec.

It is added to the unstartedkeys list and goes for the next auction. In b/w if it is claimed by any other cell the state changes to claimed and we can preserve that state.

Backward Compatibility

Breaking Change? No

@kart2bc
Copy link
Contributor Author

kart2bc commented Sep 26, 2025

repflow.txt

Copy link
Member

@mariash mariash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting to change the variable name and add tests.

@kart2bc kart2bc force-pushed the lrp-claim branch 2 times, most recently from be2f1ed to 09e6137 Compare November 3, 2025 21:40
Copy link
Member

@mariash mariash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group Nov 3, 2025
@ameowlia ameowlia merged commit ded9f55 into cloudfoundry:main Nov 4, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Application Runtime Platform Working Group Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants