{"action":"created","issue":{"url":"https://api.github.com/repos/SystemProgrammingatNTU/SP16Issues/issues/18","repository_url":"https://api.github.com/repos/SystemProgrammingatNTU/SP16Issues","labels_url":"https://api.github.com/repos/SystemProgrammingatNTU/SP16Issues/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/SystemProgrammingatNTU/SP16Issues/issues/18/comments","events_url":"https://api.github.com/repos/SystemProgrammingatNTU/SP16Issues/issues/18/events","html_url":"https://github.com/SystemProgrammingatNTU/SP16Issues/issues/18","id":194613049,"number":18,"title":"about MP4","user":{"login":"B04902037","id":14959739,"avatar_url":"https://avatars.githubusercontent.com/u/14959739?v=3","gravatar_id":"","url":"https://api.github.com/users/B04902037","html_url":"https://github.com/B04902037","followers_url":"https://api.github.com/users/B04902037/followers","following_url":"https://api.github.com/users/B04902037/following{/other_user}","gists_url":"https://api.github.com/users/B04902037/gists{/gist_id}","starred_url":"https://api.github.com/users/B04902037/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B04902037/subscriptions","organizations_url":"https://api.github.com/users/B04902037/orgs","repos_url":"https://api.github.com/users/B04902037/repos","events_url":"https://api.github.com/users/B04902037/events{/privacy}","received_events_url":"https://api.github.com/users/B04902037/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-12-09T14:45:43Z","updated_at":"2016-12-17T16:25:23Z","closed_at":null,"body":"想請問一下requirements 中Apply exclusive lock on server. 和Apply share lock on client.這兩個的實作，是前者用mutex後者用flock嗎?感覺在server上用flock跟在client上用mutex沒什麼道理。"},"comment":{"url":"https://api.github.com/repos/SystemProgrammingatNTU/SP16Issues/issues/comments/267771563","html_url":"https://github.com/SystemProgrammingatNTU/SP16Issues/issues/18#issuecomment-267771563","issue_url":"https://api.github.com/repos/SystemProgrammingatNTU/SP16Issues/issues/18","id":267771563,"user":{"login":"ethanl0518","id":5445390,"avatar_url":"https://avatars.githubusercontent.com/u/5445390?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanl0518","html_url":"https://github.com/ethanl0518","followers_url":"https://api.github.com/users/ethanl0518/followers","following_url":"https://api.github.com/users/ethanl0518/following{/other_user}","gists_url":"https://api.github.com/users/ethanl0518/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanl0518/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanl0518/subscriptions","organizations_url":"https://api.github.com/users/ethanl0518/orgs","repos_url":"https://api.github.com/users/ethanl0518/repos","events_url":"https://api.github.com/users/ethanl0518/events{/privacy}","received_events_url":"https://api.github.com/users/ethanl0518/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T16:25:23Z","updated_at":"2016-12-17T16:25:23Z","body":"1. 關於 We will use another program to lock file on server side, which should block upload request to the file. 我們應該在copy meta data之前就檢查有沒有lock，還是copy完以後再檢查?\r\n2. 關於 We will try to write to file on client side while uploading, which is expected to be blocked. 助教那邊在write的時候會檢查有沒有lock嗎? 所以我們只要在read的時候上lock，剩下就不用管了嗎?\r\n3. 請問client在stdout只能output指定的字串嗎?"}}
{"actor":{"display_login":"ethanl0518"}}