{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/18359","labels_url":"https://api.github.com/repos/owncloud/core/issues/18359/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/18359/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/18359/events","html_url":"https://github.com/owncloud/core/issues/18359","id":101447569,"number":18359,"title":"change propagator updates parent to often","user":{"login":"schiesbn","id":1589737,"avatar_url":"https://avatars.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiesbn","html_url":"https://github.com/schiesbn","followers_url":"https://api.github.com/users/schiesbn/followers","following_url":"https://api.github.com/users/schiesbn/following{/other_user}","gists_url":"https://api.github.com/users/schiesbn/gists{/gist_id}","starred_url":"https://api.github.com/users/schiesbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiesbn/subscriptions","organizations_url":"https://api.github.com/users/schiesbn/orgs","repos_url":"https://api.github.com/users/schiesbn/repos","events_url":"https://api.github.com/users/schiesbn/events{/privacy}","received_events_url":"https://api.github.com/users/schiesbn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/performance","name":"performance","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":641,"closed_issues":368,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-08-17T15:56:14Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-17T15:28:31Z","updated_at":"2015-08-17T16:10:43Z","closed_at":null,"body":"I discovered a issue with sharing in combination with encryption. If you share a folder containing 6 files with 4 users the share operation will take 24 seconds and runs 2500 queries !!!!\r\n\r\nThe problem seems to be that every time we write a file- or share-key the cache propagator propagates the changes to all parents although the cache updater already calls the propagator for each parent.\r\n\r\nSee the profile below.\r\nhttps://blackfire.io/profiles/03cdaffa-bc31-4f17-921e-df0da04ed0c3/graph\r\n\r\n@icewind1991 This needs urgent fixing, can you have a look? Thanks!\r\n\r\ncc @nickvergessen @DeepDiver1975 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/131875312","html_url":"https://github.com/owncloud/core/issues/18359#issuecomment-131875312","issue_url":"https://api.github.com/repos/owncloud/core/issues/18359","id":131875312,"user":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T16:10:43Z","updated_at":"2015-08-17T16:10:43Z","body":"> although the cache updater already calls the propagator for each parent.\r\n\r\nThat's not the case, there are 2 propagation steps, correcting folder sizes and propagating mtimes/etags, they are done separate because they have different requirements"}}