Skip to content

SERVER-129760: Repeatedly creating and dropping the same TTL index ca… - #1818

Open
ycycyyc wants to merge 1 commit into
mongodb:masterfrom
ycycyyc:yc-fix-SERVER-129760
Open

SERVER-129760: Repeatedly creating and dropping the same TTL index ca…#1818
ycycyyc wants to merge 1 commit into
mongodb:masterfrom
ycycyyc:yc-fix-SERVER-129760

Conversation

@ycycyyc

@ycycyyc ycycyyc commented Jun 24, 2026

Copy link
Copy Markdown

…uses the TTL job to run multiple times within a single cycle
@AlexTalks
AlexTalks self-requested a review July 14, 2026 21:37

@AlexTalks AlexTalks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This generally makes sense, though I have a minor change request.

_deregisterTTLInfo_inlock(uuid, info);
}

void TTLCollectionCache::_deregisterTTLInfo_inlock(UUID uuid, const Info& info) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Generally, we'd use the WithLock utility for something like this. So it would look like _deregisterTTLInfo(WithLock, UUID uuid, const Info& info).

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