Skip to content

Index locking is still required for ServiceControl 6.20.0 to 6.21.0 - #8521

Open
mauroservienti wants to merge 1 commit into
masterfrom
servicecontrol-lock-index-until-6.21.1
Open

mauroservienti wants to merge 1 commit into
masterfrom
servicecontrol-lock-index-until-6.21.1

Conversation

@mauroservienti

@mauroservienti mauroservienti commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

#8496 stated that locking a migrated index is not required starting with ServiceControl 6.20.0. That is not the case: 6.20.0 and 6.21.0 still deploy their index definitions without the search engine configured on the index, so RavenDB builds a side-by-side ReplacementOf/<index> that falls back to the database default, which is Corax for databases created before 6.20. A customer hit this after unlocking a migrated MessagesViewIndexWithFullTextSearch.

The fix, keeping the search engine configured on an index when ServiceControl deploys its index definitions, is planned for ServiceControl 6.21.1: Particular/ServiceControl#5946.

Changes to servicecontrol/ravendb/search-engine.md:

  • Locking is required for versions prior to 6.21.1 (was 6.20.0)
  • On 6.21.1 and later, migrated indexes can be unlocked permanently and still receive definition changes
  • New section on recovering from an index that was reset to Corax after unlocking

Note

This should be merged once ServiceControl 6.21.1 is released, or the version references adjusted if the fix ships in a different version.

🤖 Generated with Claude Code

Versions 6.20.0 and 6.21.0 still reset a migrated index to the database
default (Corax) at start-up when it is not locked. The fix ships in
6.21.1. Also document how to recover from an index that was reset to
Corax after being unlocked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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