Skip to content

[SE-4101] fix: address VisibleBlocks caching race condition (#27359) - #267

Merged
etechdevai merged 1 commit into
develop-juniperfrom
asad/EDLY-3595
Aug 30, 2021
Merged

[SE-4101] fix: address VisibleBlocks caching race condition (#27359)#267
etechdevai merged 1 commit into
develop-juniperfrom
asad/EDLY-3595

Conversation

@etechdevai

Copy link
Copy Markdown

Description: This PR is trying to address a hard-to-reproduce VisibleBlocks per-user caching issue in which case bulk create results an IntegrityError, though it shouldn't

(cherry picked from commit 44c6944)

JIRA:
https://edlyio.atlassian.net/browse/EDLY-3595

Merge checklist:

  • All reviewers approved
  • Commits are (reasonably) squashed

Post merge:

  • Delete working branch (if not needed anymore)

Note: Please add screenshots for any viewable change.

…27359)

* fix: address VisibleBlocks caching race condition

* sets visual block creation in an atomic transaction

* refactor: add logging statement to bulk create

Co-authored-by: Raul Gallegos <raul@opencraft.com>
(cherry picked from commit 6ccdaca)
@etechdevai etechdevai self-assigned this Aug 30, 2021

@ziafazal ziafazal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@etechdevai
etechdevai merged commit 28b3f42 into develop-juniper Aug 30, 2021
@etechdevai
etechdevai deleted the asad/EDLY-3595 branch August 30, 2021 09:24
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.

4 participants