{"action":"created","issue":{"url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/350","repository_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool","labels_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/350/comments","events_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/350/events","html_url":"https://github.com/Backblaze/B2_Command_Line_Tool/issues/350","id":240493956,"number":350,"title":"sync of a lot of small files fails","user":{"login":"usbpc102","id":3638901,"avatar_url":"https://avatars1.githubusercontent.com/u/3638901?v=3","gravatar_id":"","url":"https://api.github.com/users/usbpc102","html_url":"https://github.com/usbpc102","followers_url":"https://api.github.com/users/usbpc102/followers","following_url":"https://api.github.com/users/usbpc102/following{/other_user}","gists_url":"https://api.github.com/users/usbpc102/gists{/gist_id}","starred_url":"https://api.github.com/users/usbpc102/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usbpc102/subscriptions","organizations_url":"https://api.github.com/users/usbpc102/orgs","repos_url":"https://api.github.com/users/usbpc102/repos","events_url":"https://api.github.com/users/usbpc102/events{/privacy}","received_events_url":"https://api.github.com/users/usbpc102/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-04T20:31:16Z","updated_at":"2017-07-06T19:41:03Z","closed_at":null,"body":"I tried to sync about 1 million small files (Combined size of ~40GB) to backblaze and got a lot of 408 request_timeout errors:\r\n\r\n```b2_upload(/local/path/to/file, b2/path/to/file, 1499162591000): UnknownError('408 request_timeout Error reading uploaded data: SocketTimeoutException(Read timed out)',) Unknown error: 408 request_timeout Error reading uploaded data: SocketTimeoutException(Read timed out)```\r\n\r\nAnd also some other errors:\r\n\r\n```b2_upload(/local/path/to/file, b2/path/to/file, 1499161555000): IndexError('tuple index out of range',) tuple index out of range```\r\n\r\nThe command I used is:\r\n```b2 sync --delete --threads 100 /path/to/local/directory b2://bucketname/foldername```\r\n\r\nSo all of the old file versions were deleted, while all the files that got an error were not uploaded. I would expect that it would retry all the failed uploads."},"comment":{"url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/comments/313498459","html_url":"https://github.com/Backblaze/B2_Command_Line_Tool/issues/350#issuecomment-313498459","issue_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/350","id":313498459,"user":{"login":"svonohr","id":16880609,"avatar_url":"https://avatars0.githubusercontent.com/u/16880609?v=3","gravatar_id":"","url":"https://api.github.com/users/svonohr","html_url":"https://github.com/svonohr","followers_url":"https://api.github.com/users/svonohr/followers","following_url":"https://api.github.com/users/svonohr/following{/other_user}","gists_url":"https://api.github.com/users/svonohr/gists{/gist_id}","starred_url":"https://api.github.com/users/svonohr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svonohr/subscriptions","organizations_url":"https://api.github.com/users/svonohr/orgs","repos_url":"https://api.github.com/users/svonohr/repos","events_url":"https://api.github.com/users/svonohr/events{/privacy}","received_events_url":"https://api.github.com/users/svonohr/received_events","type":"User","site_admin":false},"created_at":"2017-07-06T19:41:03Z","updated_at":"2017-07-06T19:41:03Z","body":"The \"sync is incomplete\" is just to signal that not all files from the sync finished successfully. It would be interesting so know why some files did not finish. Do you see any more errors before this last one?"}}
{"actor":{"display_login":"svonohr"}}