Repository navigation
fix(search): stop cancelled migrations before creating temporary indexes - #13529
Merged
Merged
Conversation
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
tiensonqin
changed the base branch from
devin/1790765699-pr13475-base
to
master
September 30, 2026 11:01
devin-ai-integration
Bot
force-pushed
the
devin/1790765333-fix-fts-migration-cancel
branch
from
September 30, 2026 11:02
80c219b to
3c58582
Compare
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Sep 30, 2026
…mporary index (#13475 #13529) Co-authored-by: Tienson Qin <[email protected]> Signed-off-by: Tienson Qin <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 1, 2026
…mporary index (#13475 #13529) Co-authored-by: Tienson Qin <[email protected]> Signed-off-by: Tienson Qin <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 8, 2026
…mporary index (#13475 #13529) Co-authored-by: Tienson Qin <[email protected]> Signed-off-by: Tienson Qin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validate the active build ID and source index version after the initial timer, before creating
blocks_fts_next. Truncating during that timer gap previously recreated the temporary table and its triggers after truncation had removed them; a superseded migration could also erase a newer build's temporary index. Existing truncation cleanup remains responsible for removing tables, avoiding delayed cleanup that could delete a successor's work.Integration: follow-up to #13475, which has landed on
master. Rebased ontomasterat792f86328b; this PR now targetsmasterdirectly and contains only the fix and regression tests.git range-diffconfirms the fix is unchanged by the rebase.Verification
Commands:
Link to Devin session: https://app.devin.ai/sessions/26337e080f2d4682b150ea67cc37b380
Open in Devin Desktop: https://app.devin.ai/desktop/session/26337e080f2d4682b150ea67cc37b380?variant=devin
Requested by: @tiensonqin