Skip to content

Conversation

@demorgi
Copy link
Contributor

@demorgi demorgi commented Jun 10, 2025

Description:

Adding compound index on recieved message collection, as per mongo atlas index advisor
image

Changes:

  • Update IStorageInitializer.MongoDB.cs to include compound index for StatusName and ExpiresAt

Affected components:

  • IStorageInitializer.MongoDB

How to test:

Run application with CAP storage configured to use mongodb

Checklist:

  • I have tested my changes locally
  • I have added necessary documentation (if applicable)
  • I have updated the relevant tests (if applicable)
  • My changes follow the project's code style guidelines

Reviewers:

@yang-xiaodong

@yang-xiaodong yang-xiaodong merged commit 7261824 into dotnetcore:master Jun 12, 2025
2 checks passed
@otemnov
Copy link
Contributor

otemnov commented Sep 8, 2025

@yang-xiaodong After this change, there is no need for a separate index on StatusName.

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.

3 participants