{"action":"created","issue":{"url":"https://api.github.com/repos/upspin/upspin/issues/557","repository_url":"https://api.github.com/repos/upspin/upspin","labels_url":"https://api.github.com/repos/upspin/upspin/issues/557/labels{/name}","comments_url":"https://api.github.com/repos/upspin/upspin/issues/557/comments","events_url":"https://api.github.com/repos/upspin/upspin/issues/557/events","html_url":"https://github.com/upspin/upspin/issues/557","id":282264090,"number":557,"title":"cacheserver/git problem","user":{"login":"presotto","id":5453373,"avatar_url":"https://avatars2.githubusercontent.com/u/5453373?v=4","gravatar_id":"","url":"https://api.github.com/users/presotto","html_url":"https://github.com/presotto","followers_url":"https://api.github.com/users/presotto/followers","following_url":"https://api.github.com/users/presotto/following{/other_user}","gists_url":"https://api.github.com/users/presotto/gists{/gist_id}","starred_url":"https://api.github.com/users/presotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presotto/subscriptions","organizations_url":"https://api.github.com/users/presotto/orgs","repos_url":"https://api.github.com/users/presotto/repos","events_url":"https://api.github.com/users/presotto/events{/privacy}","received_events_url":"https://api.github.com/users/presotto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"presotto","id":5453373,"avatar_url":"https://avatars2.githubusercontent.com/u/5453373?v=4","gravatar_id":"","url":"https://api.github.com/users/presotto","html_url":"https://github.com/presotto","followers_url":"https://api.github.com/users/presotto/followers","following_url":"https://api.github.com/users/presotto/following{/other_user}","gists_url":"https://api.github.com/users/presotto/gists{/gist_id}","starred_url":"https://api.github.com/users/presotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presotto/subscriptions","organizations_url":"https://api.github.com/users/presotto/orgs","repos_url":"https://api.github.com/users/presotto/repos","events_url":"https://api.github.com/users/presotto/events{/privacy}","received_events_url":"https://api.github.com/users/presotto/received_events","type":"User","site_admin":false},"assignees":[{"login":"presotto","id":5453373,"avatar_url":"https://avatars2.githubusercontent.com/u/5453373?v=4","gravatar_id":"","url":"https://api.github.com/users/presotto","html_url":"https://github.com/presotto","followers_url":"https://api.github.com/users/presotto/followers","following_url":"https://api.github.com/users/presotto/following{/other_user}","gists_url":"https://api.github.com/users/presotto/gists{/gist_id}","starred_url":"https://api.github.com/users/presotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presotto/subscriptions","organizations_url":"https://api.github.com/users/presotto/orgs","repos_url":"https://api.github.com/users/presotto/repos","events_url":"https://api.github.com/users/presotto/events{/privacy}","received_events_url":"https://api.github.com/users/presotto/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-12-14T22:46:54Z","updated_at":"2018-04-18T17:08:08Z","closed_at":null,"author_association":"COLLABORATOR","body":"Twice now, after restarting my system, git status has thought that I had removed all the files in my depot although I can still read them via upspinfs.  Clearly cacheserver related because after restarting it, git status was back to normal.  However this is a bit frightening. I'll keep trying to figure it out."},"comment":{"url":"https://api.github.com/repos/upspin/upspin/issues/comments/382459742","html_url":"https://github.com/upspin/upspin/issues/557#issuecomment-382459742","issue_url":"https://api.github.com/repos/upspin/upspin/issues/557","id":382459742,"user":{"login":"presotto","id":5453373,"avatar_url":"https://avatars2.githubusercontent.com/u/5453373?v=4","gravatar_id":"","url":"https://api.github.com/users/presotto","html_url":"https://github.com/presotto","followers_url":"https://api.github.com/users/presotto/followers","following_url":"https://api.github.com/users/presotto/following{/other_user}","gists_url":"https://api.github.com/users/presotto/gists{/gist_id}","starred_url":"https://api.github.com/users/presotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presotto/subscriptions","organizations_url":"https://api.github.com/users/presotto/orgs","repos_url":"https://api.github.com/users/presotto/repos","events_url":"https://api.github.com/users/presotto/events{/privacy}","received_events_url":"https://api.github.com/users/presotto/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T17:08:08Z","updated_at":"2018-04-18T17:08:08Z","author_association":"COLLABORATOR","body":"If upspinfs has it, the read back is supposed to succeed immediately\nthereafter since the cache behavior locally is synchronous.  The problem\nwith writebacks (which I apparently haven't fixed if someone is still\nseeing it) is that the block won't be seen on another system but the one\nthat wrote it will have no problem.\n\nSo I am very interested in your problem because it looks like a semantic\nfailure in upspinfs, i.e., whatever mutt is expecting, upspinfs is not\nproviding.  I'm praying this is repeatable.  If so, could you run upspinfs\nin debug mode while you do it and send me the debug output?\n\nOn Wed, Apr 18, 2018 at 9:53 AM, Nicola Girardi <notifications@github.com>\nwrote:\n\n> I think I'm experiencing a similar problem with any program that writes a\n> file and expects to be able to read it back soon after (like git does). The\n> most recent unhappy incident: I was using mutt, trying to keep my mail in\n> Maildir format in Upspin, and tried to postpone a message, which entails\n> saving a file with the draft. My hunch is that it tries to confirm the\n> write (or something) by reading it back, and if that fails, it tries to\n> save again. I ended up with ~20,000 copies of the same draft (the time it\n> took me to give up and kill mutt, not having time for investigation at the\n> moment). I can confirm it's the same file:\n>\n> % ls -1 | head -100 | xargs sha1sum | cut -f1 -d' ' | uniq -c\n> 5046: signal: sys: write on closed pipe\n>     100 0d2be36f2f0347ae43c705198ed0451606e0a3f5\n>\n> I wonder if this and other issues will be fixed in one fell swoop by the\n> implementation of disconnected operation.\n>\n> Let me know if I should make a more useful investigation.\n>\n> —\n> You are receiving this because you were assigned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/upspin/upspin/issues/557#issuecomment-382455250>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AFM2PfcJxUPPYz4ffw4xpEiGxuer2H0bks5tp29vgaJpZM4RCxdV>\n> .\n>\n"}}
{"actor":{"display_login":"presotto"}}