Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix user manifest v0 creation #854

Merged
merged 7 commits into from
Dec 5, 2019
Merged

Conversation

touilleMan
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Dec 3, 2019

Codecov Report

Merging #854 into master will decrease coverage by 0.13%.
The diff coverage is 81.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #854      +/-   ##
==========================================
- Coverage   80.04%   79.91%   -0.14%     
==========================================
  Files         263      263              
  Lines       21678    21743      +65     
==========================================
+ Hits        17353    17375      +22     
- Misses       4325     4368      +43
Impacted Files Coverage Δ
parsec/core/fs/storage/user_storage.py 100% <100%> (ø) ⬆️
parsec/core/gui/instance_widget.py 78.75% <100%> (ø) ⬆️
parsec/core/fs/storage/manifest_storage.py 100% <100%> (ø) ⬆️
parsec/core/fs/userfs/userfs.py 86.07% <100%> (+0.87%) ⬆️
parsec/core/backend_connection/event_listener.py 74.75% <70%> (-3.95%) ⬇️
parsec/core/gui/users_widget.py 68.61% <0%> (-12.93%) ⬇️
parsec/core/messages_monitor.py 88.37% <0%> (-9.31%) ⬇️
parsec/core/fs/workspacefs/workspacefs.py 96.39% <0%> (+0.32%) ⬆️
parsec/core/fs/workspacefs/entry_transactions.py 96.57% <0%> (+0.57%) ⬆️
parsec/core/gui/workspaces_widget.py 69.97% <0%> (+0.58%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a1407c...f6c575a. Read the comment docs.

@touilleMan touilleMan force-pushed the fix-user-manifest-v0-creation branch 3 times, most recently from 7c3fb28 to 37acf87 Compare December 4, 2019 11:40
@touilleMan touilleMan marked this pull request as ready for review December 4, 2019 11:42
Copy link
Contributor

@vxgmichel vxgmichel left a comment

Choose a reason for hiding this comment

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

LGTM!

touilleMan added a commit that referenced this pull request Dec 4, 2019
@touilleMan
Copy link
Member Author

CI error not related (see #811)

Unlike other manifest, user manifest is always awaible given we can
guess version 0 (only the `created` field can be considered wrong,
but it will be corrected when merging with remote manifest).
The previous way of lazily generating user manifest v0 create a special
behavior which messed with the realm checkpoint handling code (which
considers a remote modification can be safely ignored if the corresponding
manifest is not in our local database...).
This fix make sure the user manifest is always present in the local
database and insert a generated and version 0 if it's not the case.
@touilleMan touilleMan merged commit 896a5dd into master Dec 5, 2019
Max-7 pushed a commit that referenced this pull request Dec 12, 2019
@FirelightFlagboy FirelightFlagboy deleted the fix-user-manifest-v0-creation branch May 9, 2023 19:28
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.

None yet

2 participants