{"action":"closed","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/3529","repository_url":"https://api.github.com/repos/syncthing/syncthing","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/3529/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/3529/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/3529/events","html_url":"https://github.com/syncthing/syncthing/issues/3529","id":172344551,"number":3529,"title":"lib/model: Temp index sorting databases remain on disk","user":{"login":"arneko","id":741425,"avatar_url":"https://avatars.githubusercontent.com/u/741425?v=3","gravatar_id":"","url":"https://api.github.com/users/arneko","html_url":"https://github.com/arneko","followers_url":"https://api.github.com/users/arneko/followers","following_url":"https://api.github.com/users/arneko/following{/other_user}","gists_url":"https://api.github.com/users/arneko/gists{/gist_id}","starred_url":"https://api.github.com/users/arneko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arneko/subscriptions","organizations_url":"https://api.github.com/users/arneko/orgs","repos_url":"https://api.github.com/users/arneko/repos","events_url":"https://api.github.com/users/arneko/events{/privacy}","received_events_url":"https://api.github.com/users/arneko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncthing/syncthing/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"assignees":[{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/syncthing/syncthing/milestones/10","html_url":"https://github.com/syncthing/syncthing/milestones/Planned","labels_url":"https://api.github.com/repos/syncthing/syncthing/milestones/10/labels","id":1423652,"number":10,"title":"Planned","description":"Issues that we are working on or will be working on shortly.","creator":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":75,"state":"open","created_at":"2015-11-22T09:16:53Z","updated_at":"2016-08-22T12:19:23Z","due_on":"2019-12-31T23:00:00Z","closed_at":null},"comments":7,"created_at":"2016-08-21T22:16:06Z","updated_at":"2016-08-22T12:19:23Z","closed_at":"2016-08-22T12:19:23Z","body":"I just noticed my backup program (attic/borg backup) backing up a number of syncthing folders, which are called tmp-index-sorter.##### and live in the config directory. I understand these are db files enabling the delta-indexing algorithm. In the past I would ignore folders by placing a \"cachedir.tag\" file into folders I don't want backed up.\r\nIn this case I was puzzled by their naming scheme though- they are called \"tmp*\" -something , but don't seem to be more temporal than the actual database-folder. My initial thought was thus not to place the cachedir.tag -files there, since \"tmp\"-folders tend to get cleaned up at times (?!)\r\nAlso, there are quite a number of \"tmp-index-sorter\"-folders, and it looks untidy. O:-) At least much less tidy than I am used to from syncthing.\r\nWouldn't it make more sense to at least put all the index-related db-folders into an extra subfolder say $st_home/index/ ?\r\n\r\nSo I guess I am proposing both a naming-scheme change and a location change...\r\nEDIT: Just saw this related https://github.com/syncthing/syncthing/issues/3449 closed issue, so I guess you guys are somewhat aware of the issue"}}
{"actor":{"display_login":"st-review"}}