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

Changes must affect ALL data structures, not just cache. #37

Open
dsoprea opened this issue Feb 25, 2013 · 0 comments
Open

Changes must affect ALL data structures, not just cache. #37

dsoprea opened this issue Feb 25, 2013 · 0 comments
Assignees
Labels

Comments

@dsoprea
Copy link
Owner

dsoprea commented Feb 25, 2013

Changes must affect cache (as it currently does), as well as opened-files (OF), if necessary. Currently, local-originating changes will be taken of in the cache and opened-files from the remove() routine, and a subsequent Change will be received that will redundantly affect the cache. HOWEVER, if the change originates from another channel, such as the web interface or a sharing user, we'll find ourselves with an opened-file for an entry that is no longer officially cached (although the object will still exist due to a reference as an OF).

We should displace actual action code from the FUSE adapter into a separate class, and call that from the Change routine (the Change routines will no longer have a concept of what it's doing beyond calling the relevant handler, such as 'create', 'update', 'unlink', etc..).

@ghost ghost assigned dsoprea Feb 25, 2013
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