╭ changed ────────────╮ │src/event/Comment.zig│ ╰─────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────╮ │22 // the moment keys `evt.merge` reads and writes for this kind │ │23 pub const merge_policy: evt.MergePolicy = .target_wins; │ │24 pub const record_map_key = "event-id->comment"; │ │25 -pub const id_set_key = "comment-id-set"; │ │25 +pub const all_id_set_key = "comment-id-set"; │ │26 │ │27 // the indexes the thread reads │ │28 pub const thread_id_to_comment_id_set_key = "thread-id->comment-id-set";│ ╰────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │80 try evt.indexEvent(DB, hash_kind, haxy_moment, event_id, .comment, existing_record_maybe, record_to_write);│ │81 │ │82 if (existing_cursor_maybe == null) { │ │83 - const comment_id_set_cursor = try haxy_moment.putCursor(hash.hashInt(hash_kind, id_set_key)); │ │83 + const comment_id_set_cursor = try haxy_moment.putCursor(hash.hashInt(hash_kind, all_id_set_key)); │ │84 const comment_id_set = try DB.SortedSet(.read_write).init(comment_id_set_cursor); │ │85 try comment_id_set.put(&evt.orderKeyDesc(record_to_write.created_order, event_id)); │ │86 try evt.touchThread(DB, hash_kind, haxy_moment, &thread_id, record_to_write.created_order, arena); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯