Skip to content

Commit

Permalink
Reorder operations for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhuaaa committed Apr 17, 2024
1 parent ab0d4e8 commit a9c8755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/identity/api/v1/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ Start transaction (SERIALIZABLE isolation level)
2. If the log has 256 or more entries, abort the transaction.
3. Concatenate the update in-memory and validate it sequentially. If
failed, abort the transaction.
4. For each affected address:
4. Insert the update into the inbox_log table
5. For each affected address:
a. Insert or update the record with (address, inbox_id) into
the address_log table, updating the relevant sequence_id (it should
always be higher)
5. Insert the update into the inbox_log table
End transaction
*/
Expand Down

0 comments on commit a9c8755

Please sign in to comment.