Skip to content

Fix records not being indexed sometimes#12024

Merged
Gargron merged 1 commit intomasterfrom
fix-chewy-callbacks
Sep 30, 2019
Merged

Fix records not being indexed sometimes#12024
Gargron merged 1 commit intomasterfrom
fix-chewy-callbacks

Conversation

@Gargron
Copy link
Copy Markdown
Member

@Gargron Gargron commented Sep 30, 2019

It's possible that after commit callbacks were not firing when exceptions occurred in the process. Also, the default Sidekiq strategy does not push indexing jobs immediately, which is not necessary and could be part of the issue too.

It's possible that after commit callbacks were not firing when
exceptions occurred in the process. Also, the default Sidekiq
strategy does not push indexing jobs immediately, which is not
necessary and could be part of the issue too.
@Gargron Gargron added the bug Something isn't working label Sep 30, 2019
@Gargron Gargron merged commit 5c42f47 into master Sep 30, 2019
@Gargron Gargron deleted the fix-chewy-callbacks branch September 30, 2019 23:19
@tribela
Copy link
Copy Markdown
Contributor

tribela commented Oct 1, 2019

Is #10760 not related on this commit?

@Gargron
Copy link
Copy Markdown
Member Author

Gargron commented Oct 1, 2019

Maybe, it is difficult to debug because the problem seems to occur only in live environment with concurrency and networking.

hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
It's possible that after commit callbacks were not firing when
exceptions occurred in the process. Also, the default Sidekiq
strategy does not push indexing jobs immediately, which is not
necessary and could be part of the issue too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants