╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─────────╮ │src/event/User.zig│ ╰──────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────╮ │101 if (existing_record_maybe) |existing_record| { │ │102 // updates preserve the original creation timestamp │ │103 record_to_write.created_ts = existing_record.created_ts; │ │113 - const order_key = evt.orderKeyDesc(existing_record.created_ts, event_id);│ │104 │ │105 // drop the old active indexes; active values are re-added below │ │106 if (!existing_record.deleted) { │ ╰──────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │107 _ = try name_to_user_id.remove(hash.hashInt(hash_kind, existing_record.event.name)); │ │108 _ = try email_to_user_id.remove(hash.hashInt(hash_kind, existing_record.event.email)); │ │119 - } │ │120 - │ │121 - // any event settles the conflict, since resolving in the ui may │ │122 - // keep our own values and so change nothing to detect │ │123 - if (event_oid != null or record_to_write.deleted) { │ │124 - _ = try conflicts.remove(&order_key); │ │109 } │ │110 } │ │127 - │ │128 - try evt.writeOid(Self, DB, hash_kind, user_id_to_field_to_oid, user_key, if (existing_record_maybe) |existing| existing.event else null, record_to_write.event, event_oid);│ │111 │ │112 const user_cursor = try event_id_to_user.putCursor(user_key); │ │113 const user = try DB.HashMap(.read_write).init(user_cursor); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────╮ │144 } │ │145 │ │146 for (repo_ids.items) |*repo_id| { │ │165 - try evt.Repo.consume(DB, hash_kind, haxy_moment, repo_id, null, arena, event_oid);│ │147 + try evt.Repo.consume(DB, hash_kind, haxy_moment, repo_id, null, arena, null); │ │148 } │ │149 } │ │150 _ = try user_id_to_repo_id_set.remove(user_key); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯