{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":183779438,"defaultBranch":"master","name":"bb-storage","ownerLogin":"moroten","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2019-04-27T13:56:16.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/5401799?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1699565364.0","currentOid":""},"activityList":{"items":[{"before":"c1cfe44644da2cc1da6ff32364f6c1581f5d8059","after":"fd73ecbee3eb98559d8c67bceaabfe5d5f5ca0ab","ref":"refs/heads/add-logo","pushedAt":"2023-11-09T22:36:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Integrate logo in otel","shortMessageHtmlLink":"Integrate logo in otel"}},{"before":"08084e413536b46d52b0a7eb980833dd36f8c9ef","after":"6bda5408ddcafd2c85db21aad36c0f158dfbf9e4","ref":"refs/heads/fix-block-all-release-panic","pushedAt":"2023-11-09T21:34:03.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Fix crash when releasing all blocks\n\nIf data corruption was found in the newest block, all blocks would be\nreleased and trigger a panic when no block was allocated for writing.\nSee the stack trace below where lbm.newBlocks=0 and i=0 leads to\nlbm.allocationAttemptsRemaining = 1 << -1\nwhich panics.\n\n2023/11/08 14:33:20 rpc error: code = Internal desc = Releasing 1 blocks due to a data integrity error\npanic: runtime error: negative shift amount\ngoroutine 15748 [running]:\ngithub.com/buildbarn/bb-storage/pkg/blobstore/local.(*OldCurrentNewLocationBlobMap).startAllocatingFromBlock(...)\n\tpkg/blobstore/local/old_current_new_location_blob_map.go:259\ngithub.com/buildbarn/bb-storage/pkg/blobstore/local.(*OldCurrentNewLocationBlobMap).findBlockWithSpace(0xc00025e140, 0x232)\n\tpkg/blobstore/local/old_current_new_location_blob_map.go:302 +0x66a\ngithub.com/buildbarn/bb-storage/pkg/blobstore/local.(*OldCurrentNewLocationBlobMap).Put(0xc00025e140, 0x232)\n\tpkg/blobstore/local/old_current_new_location_blob_map.go:363 +0x27","shortMessageHtmlLink":"Fix crash when releasing all blocks"}},{"before":null,"after":"08084e413536b46d52b0a7eb980833dd36f8c9ef","ref":"refs/heads/fix-block-all-release-panic","pushedAt":"2023-11-09T21:29:24.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Fix crash when releasing all blocks\n\nIf data corruption was found in the newest block, all blocks would be\nreleased and trigger a panic when no block was allocated for writing.\nSee the stack trace below.\n\n2023/11/08 14:33:20 rpc error: code = Internal desc = Releasing 1 blocks due to a data integrity error\npanic: runtime error: negative shift amount\ngoroutine 15748 [running]:\ngithub.com/buildbarn/bb-storage/pkg/blobstore/local.(*OldCurrentNewLocationBlobMap).startAllocatingFromBlock(...)\n\tpkg/blobstore/local/old_current_new_location_blob_map.go:259\ngithub.com/buildbarn/bb-storage/pkg/blobstore/local.(*OldCurrentNewLocationBlobMap).findBlockWithSpace(0xc00025e140, 0x232)\n\tpkg/blobstore/local/old_current_new_location_blob_map.go:302 +0x66a\ngithub.com/buildbarn/bb-storage/pkg/blobstore/local.(*OldCurrentNewLocationBlobMap).Put(0xc00025e140, 0x232)\n\tpkg/blobstore/local/old_current_new_location_blob_map.go:363 +0x27","shortMessageHtmlLink":"Fix crash when releasing all blocks"}},{"before":"ab5656dcf4663d0ba72c30936c39779796dedc00","after":"c1cfe44644da2cc1da6ff32364f6c1581f5d8059","ref":"refs/heads/add-logo","pushedAt":"2023-10-21T17:01:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Add Buildbarn logo svg","shortMessageHtmlLink":"Add Buildbarn logo svg"}},{"before":"54a8753efd73d59908e3c354c20ebce5bc84d847","after":"ab5656dcf4663d0ba72c30936c39779796dedc00","ref":"refs/heads/add-logo","pushedAt":"2023-10-20T17:03:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Add Buildbarn logo svg","shortMessageHtmlLink":"Add Buildbarn logo svg"}},{"before":"49077cd1a63b2e288f8955de2a688311b7b09a84","after":"54a8753efd73d59908e3c354c20ebce5bc84d847","ref":"refs/heads/add-logo","pushedAt":"2023-10-20T07:59:01.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Add Buildbarn logo svg","shortMessageHtmlLink":"Add Buildbarn logo svg"}},{"before":null,"after":"49077cd1a63b2e288f8955de2a688311b7b09a84","ref":"refs/heads/add-logo","pushedAt":"2023-09-13T06:39:52.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Add Buildbarn logo svg","shortMessageHtmlLink":"Add Buildbarn logo svg"}},{"before":"d8227e13ac30369806d5ed561673c65a9fe2f929","after":null,"ref":"refs/heads/fix-persistent-directory-error-message","pushedAt":"2023-05-09T07:43:54.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"}},{"before":"fedbc0c0176dffa043d2cc21b651c63e0c63e344","after":"d8227e13ac30369806d5ed561673c65a9fe2f929","ref":"refs/heads/fix-persistent-directory-error-message","pushedAt":"2023-03-14T13:50:46.001Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Improve configuration error message for persistent directory\n\nConsider a misconfiguration as follows:\n\n persistent: {}\n\nBefore this misconfiguration would give the same error as if it was\nconfigured but had filesystem problems.\n\n storage-0_1 | 2023/03/14 10:13:51\n Failed to create Content Addressable Storage: rpc error: code = Unknown\n desc = Failed to open persistent state directory: no such file or directory\n\nBy writing the path in the error message, the error will hopefully be\neasier to track down.","shortMessageHtmlLink":"Improve configuration error message for persistent directory"}},{"before":null,"after":"fedbc0c0176dffa043d2cc21b651c63e0c63e344","ref":"refs/heads/fix-persistent-directory-error-message","pushedAt":"2023-03-14T13:45:11.346Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moroten","name":"Fredrik Medley","path":"/moroten","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5401799?s=80&v=4"},"commit":{"message":"Improve confguration error message for persistent directory","shortMessageHtmlLink":"Improve confguration error message for persistent directory"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADq7sGFQA","startCursor":null,"endCursor":null}},"title":"Activity ยท moroten/bb-storage"}