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

mount: fix consistency issue, invalidate mount meta cache more aggressively #2289

Merged
merged 1 commit into from Aug 28, 2021

Conversation

nivekuil
Copy link
Contributor

I upgraded weed mount from 2.49 and it seems there's a consistency problem. Picture's worth a thousand words: this is weed server with 2 mounts on 2 servers. I ran these commands roughly alternating between these two servers. You can see that the hi file seems to be getting clobbered, as if the file length metadata wasn't updating:
image
image

With my change it now alternates as expected:
image
image

I'm not totally sure why this works, just looked through the commits and this one looked suspicious: nivekuil@e6ba2f9

@nivekuil nivekuil changed the title Invalidate mount meta cache more aggressively mount: fix consistency issue, invalidate mount meta cache more aggressively Aug 28, 2021
@chrislusf chrislusf merged commit ccc4405 into seaweedfs:master Aug 28, 2021
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