Operational Defect Database

BugZero found this defect 51 days ago.

MongoDB | 2627054

return information on time-series collections with TTL feature disabled

Last update date:

3/29/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Time series collections may be configured to automatically remove expired documents based on the expireAfterSeconds collection option (TTL). In certain scenarios, this TTL feature may be disabled due to the limitations on time series collections. It would be helpful for the end user to be able to tell when the TTL feature is disabled on a time-series collection without having to adjust server log verbosity levels and inspect server logs for TTL activity (or lack of). We might expose this information (which is transient in this case because it is completely dependent on the time-series collection content) in a few places, including listIndexes Generally, listIndexes shows information that is persisted durably in the catalog. collStats collStats might be a better place but there are a lot of stats currently being exported. indexStats There is also a lot of detail in the indexStats output so this information might get lost.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...