Skip to content

Conversation

@pieh
Copy link
Contributor

@pieh pieh commented Feb 18, 2022

Description

Right now we are emitting ENGINES_READY message (so CI/CD can start handling engines) before all upserts to LMDB happened. Right now it can result in cases where CI/CD and core both try to interact with LMDB and potentially resulting in corrupted DB later when engines are actually used.

This moves known upserts (materializing page mode) and ensurse we are finished with them before ENGINES_READY

Related Issues

[ch-46416]
[ch-44853]

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 18, 2022
@pieh pieh marked this pull request as ready for review February 21, 2022 10:37
@pieh pieh added topic: render-mode Related to Gatsby's different rendering modes and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Feb 21, 2022
wardpeet
wardpeet previously approved these changes Feb 21, 2022
Copy link
Contributor

@wardpeet wardpeet left a comment

Choose a reason for hiding this comment

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

Code looks good, I've added a clarifying question to maybe cleanup the code a bit.

LekoArts
LekoArts previously approved these changes Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: render-mode Related to Gatsby's different rendering modes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants