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

cachedblobstore: Stale writeback may fail to query version #68

Open
nyaxt opened this issue Jan 19, 2016 · 1 comment
Open

cachedblobstore: Stale writeback may fail to query version #68

nyaxt opened this issue Jan 19, 2016 · 1 comment
Labels

Comments

@nyaxt
Copy link
Owner

nyaxt commented Jan 19, 2016

In unfortunate case, a cached blob writeback may initiate when frontend is just updating its chunk header.
cachedblobentry.writeBackWithLock will fail in that case:

2016/01/19 22:57:55 W [cachedbs] cachesyncer.go:101: Worker[0] Sync failed CachedBlobEntry{"7a227c943c8c10340984094988b8ae4d", Dirty} err: Failed to writeback dirty: Failed to query cached blob ver: signature magic mismatch
@nyaxt
Copy link
Owner Author

nyaxt commented Jan 19, 2016

Labeling as P2, as it shouldn't cause any real issue. Next Sync() should succeed fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant