Skip to content

Implement the new feature#58

Draft
asg0451 wants to merge 1 commit into
masterfrom
cursor/implement-the-new-feature-3d40
Draft

Implement the new feature#58
asg0451 wants to merge 1 commit into
masterfrom
cursor/implement-the-new-feature-3d40

Conversation

@asg0451

@asg0451 asg0451 commented Aug 26, 2025

Copy link
Copy Markdown
Owner

Store lease expiry index key in LeaseEntry to enable direct deletion on extend and prevent duplicate index entries.

The previous extend operation relied on a prefix scan to find and delete old expiry index entries, which was inefficient and prone to leaving duplicate entries. This change stores the exact expiry index key within the LeaseEntry itself, allowing for a direct key deletion during extend and ensuring only one expiry index entry exists per lease. It also adds a cleanup mechanism in the sweeper for robustness.


Open in Cursor Open in Web

…xtension

Co-authored-by: miles.frankel <miles.frankel@gmail.com>
@cursor

cursor Bot commented Aug 26, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants