{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":170366344,"defaultBranch":"main","name":"ristretto","ownerLogin":"dgraph-io","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-02-12T18:07:00.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/13958706?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1705413876.0","currentOid":""},"activityList":{"items":[{"before":"92bc00fbea273979dcbd43fe19358e22a575eba7","after":null,"ref":"refs/heads/rft-codeowners","pushedAt":"2024-01-16T14:04:36.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryanfoxtyler","name":"Ryan Fox-Tyler","path":"/ryanfoxtyler","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60440289?s=80&v=4"}},{"before":"dae2557375a09e745c5b2636b1caf9242ff59518","after":"c67e07994f911dbf42104f568c83a29830e88236","ref":"refs/heads/main","pushedAt":"2024-01-16T14:04:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ryanfoxtyler","name":"Ryan Fox-Tyler","path":"/ryanfoxtyler","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60440289?s=80&v=4"},"commit":{"message":"Update CODEOWNERS (#372)\n\nUpdating codeowners to map to GitHub Team for easier management","shortMessageHtmlLink":"Update CODEOWNERS (#372)"}},{"before":null,"after":"92bc00fbea273979dcbd43fe19358e22a575eba7","ref":"refs/heads/rft-codeowners","pushedAt":"2024-01-16T13:54:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ryanfoxtyler","name":"Ryan Fox-Tyler","path":"/ryanfoxtyler","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/60440289?s=80&v=4"},"commit":{"message":"Update CODEOWNERS","shortMessageHtmlLink":"Update CODEOWNERS"}},{"before":"e7380b4f3a4387dfa8d1223966a66f636422bf5f","after":"dae2557375a09e745c5b2636b1caf9242ff59518","ref":"refs/heads/main","pushedAt":"2024-01-16T10:15:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"Restrict generic key type to only those supported (#371)\n\nWithout this, you can specify key types that aren't supported and then\r\nhave to deal with panics, rather than more pleasant compile-time\r\nwarnings.","shortMessageHtmlLink":"Restrict generic key type to only those supported (#371)"}},{"before":"231c676eee330b4cdcf881d3ff938c8fda401b0e","after":"e7380b4f3a4387dfa8d1223966a66f636422bf5f","ref":"refs/heads/main","pushedAt":"2024-01-15T08:54:25.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"upgrade actions/checkout to v4 and actions/setup-go to v5 (#368)\n\nSigned-off-by: nnnkkk7 ","shortMessageHtmlLink":"upgrade actions/checkout to v4 and actions/setup-go to v5 (#368)"}},{"before":"a9fc2199bc950f5b1e2d6df1e7d111adeb5e27f8","after":"231c676eee330b4cdcf881d3ff938c8fda401b0e","ref":"refs/heads/main","pushedAt":"2023-12-11T18:15:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"Upgrade xxhash dependency to v2.2.0 (#367)\n\nWhen using ristretto in a Go plugin it's currently failing to build due\r\nto: https://github.com/cespare/xxhash/issues/54, so this PR is simply\r\nupdating the dependency.","shortMessageHtmlLink":"Upgrade xxhash dependency to v2.2.0 (#367)"}},{"before":"5239be55a219459d7ce4f6e9f99c8cea2c0b9d3a","after":"a9fc2199bc950f5b1e2d6df1e7d111adeb5e27f8","ref":"refs/heads/main","pushedAt":"2023-12-11T18:09:21.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"Disable mmap size check on arm arch as well as arm64 (#366)\n\nIn #281 mmap size check has been disabled for the ARM64 arch. \r\n\r\nBut we at [anytype](https://github.com/anyproto) quite often face the\r\nsame problem on the arm arch on Android devices (armeabi-v7a target)\r\nwith the [latest badger\r\nv4.2.0](https://github.com/dgraph-io/badger/releases/tag/v4.2.0) and\r\n[latest ristretto v0.1.1](https://github.com/dgraph-io/ristretto).\r\n\r\n```memtables error: while opening fid: 1 error: while updating skiplist error: mremap size mismatch: requested: 1479692 got: 67108864```\r\n\r\nThis PR extends the #281 to cover all arm architectures.\r\n\r\nHere is one more mention of this issue\r\nhttps://github.com/dgraph-io/badger/issues/2027#issuecomment-1820368978\r\n\r\nIt would also make sense to create the PR on top of v0.1.1 release, but there is not release branch to base on","shortMessageHtmlLink":"Disable mmap size check on arm arch as well as arm64 (#366)"}},{"before":"a018fe482d857c87103daa4cb79b7eafa4ee0877","after":null,"ref":"refs/heads/joshua/cron","pushedAt":"2023-09-29T21:34:31.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"}},{"before":"e2027d3a8d5bd4c2a52fddbb94a9c31a1abc4d70","after":"5239be55a219459d7ce4f6e9f99c8cea2c0b9d3a","ref":"refs/heads/main","pushedAt":"2023-09-29T21:34:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"},"commit":{"message":"chore(ci): reduce cron frequency (#359)\n\nDescription: Run jobs once daily on cron.","shortMessageHtmlLink":"chore(ci): reduce cron frequency (#359)"}},{"before":null,"after":"a018fe482d857c87103daa4cb79b7eafa4ee0877","ref":"refs/heads/joshua/cron","pushedAt":"2023-09-29T20:56:27.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"},"commit":{"message":"update crons","shortMessageHtmlLink":"update crons"}},{"before":"185461756714d72b458a7fb6cf9441a96db82dcb","after":"e2027d3a8d5bd4c2a52fddbb94a9c31a1abc4d70","ref":"refs/heads/main","pushedAt":"2023-09-06T14:57:45.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"[BREAKING] support generic API (#321)","shortMessageHtmlLink":"[BREAKING] support generic API (#321)"}},{"before":"4dd55e07550bbff1ebcb72b669c27bedfd763abd","after":null,"ref":"refs/heads/aman/cleanup","pushedAt":"2023-09-04T15:30:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"}},{"before":"91446626cc3b34a596a024bd711f786e74851aeb","after":"185461756714d72b458a7fb6cf9441a96db82dcb","ref":"refs/heads/main","pushedAt":"2023-09-04T15:30:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"minor repo cleanup (#352)","shortMessageHtmlLink":"minor repo cleanup (#352)"}},{"before":"c00b3525a6a1c4cead9cc26b8d453da4b0e85e52","after":"91446626cc3b34a596a024bd711f786e74851aeb","ref":"refs/heads/main","pushedAt":"2023-09-01T06:05:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"stop cleanupTicker while closing cache (#343)\n\n## Problem\r\n`cleanupTicker `that is created in `NewCache` is never stopped, which is\r\nwhy the code below causes a memory leak\r\n\r\n```go\r\nfor {\r\n\tc, _ := NewCache(...)\r\n\tc.Close()\r\n}\r\n```\r\n\r\n## Solution\r\nStop `cleanupTicker` in `Close` method","shortMessageHtmlLink":"stop cleanupTicker while closing cache (#343)"}},{"before":"e6d62cbfa02d3bd4bfd1f50f8d86786dc668ec46","after":"c00b3525a6a1c4cead9cc26b8d453da4b0e85e52","ref":"refs/heads/main","pushedAt":"2023-09-01T01:09:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"uint32 to uint64 in slice methods (#323)\n\n## Problem\r\nI'm currently on Dgraph 21.12 unable to export my data.\r\nExport fails on just two nodes out of 7 with the \"Unexpected EOF\" error:\r\n\r\n```\r\nDec 14 11:31:51 dm-dgraph-04 dgraph[224355]: I1214 11:31:51.840130 224355 log.go:34] Export [01h26m22s] Scan (12): ~2.1 TiB/2.5 TiB at 177 MiB/sec. Sent: 801.5 GiB at 231 MiB/sec. jemalloc: 7.5 GiB\r\nDec 14 11:31:55 dm-dgraph-04 dgraph[224355]: W1214 11:31:55.408201 224355 log.go:36] Error while sending: unexpected EOF\r\n```\r\n\r\nSkipping rather long investigation of this issue I came to find length\r\nof slice, written to the Buffer during export exceed the size of uint32\r\n(i've decoded varint before Value field in Badger KV struct with RDF's\r\nto get something around 4.5Gb, which is expected for a rather bloated\r\nreverse edge to the one of the most common nodes in my DB. Also count\r\nquery returns 72 105 794 connected nodes which is, welp, quite a lot).\r\n\r\nNot to mention that working with `int` which is almost always is `int64`\r\nand then casually casting it to `uint32` w/o any checks or warnings is\r\nas bad as it gets.\r\n\r\n## Solution\r\nFind any `4` and `Uint32` and carefully replace them with `8` and\r\n`Uint64`. As this happens only in slice-related methods the fix is quite\r\neasy. Locally tests run just fine, but i had to patch the sort one to\r\naccommodate for size changes. Also i did test 21.12-related badger\r\nversion and tests run fine too.","shortMessageHtmlLink":"uint32 to uint64 in slice methods (#323)"}},{"before":"f502498aef87d529b16456096956ff62c683d764","after":"62032db124609c0e6fd29b57ef5156045713827b","ref":"refs/heads/joshua/add-test","pushedAt":"2023-09-01T01:00:32.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"add test to ensure calling set after close does not panic","shortMessageHtmlLink":"add test to ensure calling set after close does not panic"}},{"before":"068d581280ae4dd3d4e3bbf3f14ad4ccc8c5b23c","after":null,"ref":"refs/heads/oldbranch","pushedAt":"2023-09-01T00:58:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"}},{"before":"92b361a9a30268783eba8ae1a67a79385a7b3553","after":"4dd55e07550bbff1ebcb72b669c27bedfd763abd","ref":"refs/heads/aman/cleanup","pushedAt":"2023-09-01T00:54:50.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"minor repo cleanup","shortMessageHtmlLink":"minor repo cleanup"}},{"before":"4069f5d1c4c0b92d93d2765a6f171b24e0e247e1","after":null,"ref":"refs/heads/joshua/ci","pushedAt":"2023-08-31T23:39:48.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"}},{"before":"f0e70276b93a49aa672dd247f4dddfc5f208d07f","after":"e6d62cbfa02d3bd4bfd1f50f8d86786dc668ec46","ref":"refs/heads/main","pushedAt":"2023-08-31T23:39:47.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"},"commit":{"message":"chore(ci): separate out coverage report workflow (#353)\n\n* separate ristretto test and coverage workflows","shortMessageHtmlLink":"chore(ci): separate out coverage report workflow (#353)"}},{"before":"a4b8896cd351520d6eced09249f3b52d67293b81","after":"4069f5d1c4c0b92d93d2765a6f171b24e0e247e1","ref":"refs/heads/joshua/ci","pushedAt":"2023-08-31T18:03:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"},"commit":{"message":"incorporate tested changes","shortMessageHtmlLink":"incorporate tested changes"}},{"before":"2dd73f78ac2d3525bf7d1cf224f88fb5afd5af70","after":"a4b8896cd351520d6eced09249f3b52d67293b81","ref":"refs/heads/joshua/ci","pushedAt":"2023-08-31T15:10:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"},"commit":{"message":"run also on push","shortMessageHtmlLink":"run also on push"}},{"before":"f0d3a596a8219c28a4f24e78d6c2361b4f35d3ba","after":"2dd73f78ac2d3525bf7d1cf224f88fb5afd5af70","ref":"refs/heads/joshua/ci","pushedAt":"2023-08-31T15:04:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"},"commit":{"message":"use v3 upload","shortMessageHtmlLink":"use v3 upload"}},{"before":"00a7940fcc849b21567a8da403a481ad40e507d1","after":"f0d3a596a8219c28a4f24e78d6c2361b4f35d3ba","ref":"refs/heads/joshua/ci","pushedAt":"2023-08-31T15:02:15.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"},"commit":{"message":"add longer timeout","shortMessageHtmlLink":"add longer timeout"}},{"before":null,"after":"00a7940fcc849b21567a8da403a481ad40e507d1","ref":"refs/heads/joshua/ci","pushedAt":"2023-08-31T14:44:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"joshua-goldstein","name":"Joshua Goldstein","path":"/joshua-goldstein","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/92491720?s=80&v=4"},"commit":{"message":"init","shortMessageHtmlLink":"init"}},{"before":"238a052378a97ff0889a49888fb4076544365e08","after":"92b361a9a30268783eba8ae1a67a79385a7b3553","ref":"refs/heads/aman/cleanup","pushedAt":"2023-08-31T12:49:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"minor repo cleanup","shortMessageHtmlLink":"minor repo cleanup"}},{"before":"041d3b1fee3f263682624da7e4bbfcc20aec4745","after":"238a052378a97ff0889a49888fb4076544365e08","ref":"refs/heads/aman/cleanup","pushedAt":"2023-08-31T11:09:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"minor repo cleanup","shortMessageHtmlLink":"minor repo cleanup"}},{"before":"41d0fd365ee537a08a99903e8fcc1fa838613a0d","after":"041d3b1fee3f263682624da7e4bbfcc20aec4745","ref":"refs/heads/aman/cleanup","pushedAt":"2023-08-31T10:57:43.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"minor repo cleanup","shortMessageHtmlLink":"minor repo cleanup"}},{"before":null,"after":"41d0fd365ee537a08a99903e8fcc1fa838613a0d","ref":"refs/heads/aman/cleanup","pushedAt":"2023-08-31T10:56:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"minor repo cleanup","shortMessageHtmlLink":"minor repo cleanup"}},{"before":"e8dc5b0073351c9bf2a0c4ca8567089da049da44","after":"f0e70276b93a49aa672dd247f4dddfc5f208d07f","ref":"refs/heads/main","pushedAt":"2023-08-31T06:52:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mangalaman93","name":"Aman Mangal","path":"/mangalaman93","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2542340?s=80&v=4"},"commit":{"message":"set missing Expiration field on evicted items (#345)\n\nOn our use case we need to rely on expiration timestamps but we realized\r\nthat they return zero timestamps. Our assumption is that this is due to\r\na bug and not by design.\r\n\r\n## Problem\r\nWhen `OnEvict` callback is executed `Item` does not have `Expiration`\r\nfield set. Considering it is a public field this needs to be set and\r\navailable.\r\n\r\n## Solution\r\nInitialize `Expiration` field before calling the `onEvict` callback","shortMessageHtmlLink":"set missing Expiration field on evicted items (#345)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD4Q7YJQA","startCursor":null,"endCursor":null}},"title":"Activity ยท dgraph-io/ristretto"}