Skip to content

Wait for SHM changes to flush before exit#351

Merged
benbjohnson merged 1 commit intomainfrom
fix-shm-test-lockup
Jun 20, 2023
Merged

Wait for SHM changes to flush before exit#351
benbjohnson merged 1 commit intomainfrom
fix-shm-test-lockup

Conversation

@benbjohnson
Copy link
Collaborator

When the SHM access was changed to go through the FUSE mount (#346), this caused a race condition on FUSE shutdown for pending changes to the SHM. The FUSE connection is now explicitly closed and internal changes to SHM are sync'd to FUSE. There is also a "mount ready" flag on the store to indicate when the FUSE mount is available so that the store does not attempt to access it before mount or after unmount.

@benbjohnson benbjohnson added the bug Something isn't working label Jun 20, 2023
@benbjohnson benbjohnson added this to the v0.5.0 milestone Jun 20, 2023
@benbjohnson benbjohnson force-pushed the fix-shm-test-lockup branch from ca950e1 to a3c68ca Compare June 20, 2023 04:03
@benbjohnson benbjohnson merged commit 9b998b7 into main Jun 20, 2023
@benbjohnson benbjohnson deleted the fix-shm-test-lockup branch June 20, 2023 04:09
benbjohnson added a commit that referenced this pull request Jun 20, 2023
@benbjohnson benbjohnson mentioned this pull request Jun 20, 2023
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.

1 participant