Skip to content

Fix the issue with disappeared indexes#35

Open
anvar-ramazanov wants to merge 4 commits into
masterfrom
anvar.ramazanov/DBE-23673
Open

Fix the issue with disappeared indexes#35
anvar-ramazanov wants to merge 4 commits into
masterfrom
anvar.ramazanov/DBE-23673

Conversation

@anvar-ramazanov
Copy link
Copy Markdown

  1. Updated commons-io due to CVE
  2. Bumped java version to 21
  3. Added fetching a sample of N docs in order to collect metadata (previously it was N first)
  4. For indexes that still have missing fields, added fetching one document to collect metadata about the field

Anvar Ramazanov added 4 commits May 6, 2026 10:47
…MongoDB collections by:

1. Introducing reading sample of docs to discover fields (required MongoDB > 3.2)
2. If we still find the index with field that is missing - we reading exactly one document with this field
3. Even if reading document doesn't help - we create a STUB for such field with type = 'varchar'
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.

1 participant