A SequenceReset (35=4) can advance the sequence number a receiver expects from one sender. Read GapFillFlag (123), MsgSeqNum (34) and NewSeqNo (36) together. The reverse direction has its own history. In a partial capture, anchor each history at its first observed message unless a Logon or other evidence establishes an earlier baseline. FIX Session Layer standard
Three skipped positions
Suppose LAB_A processed sequence 70 from LAB_B. During recovery LAB_B sends this synthetic FIX 4.4 gap fill. Each bar denotes SOH.
8=FIX.4.4|9=89|35=4|49=LAB_B|56=LAB_A|34=71|43=Y|52=20260115-09:31:05|122=20260115-09:31:05|123=Y|36=74|10=160|
Tag 34 names the first position covered. With 123=Y, the interval includes 71, 72 and 73. Tag 36 names the next expected position, 74. An incoming sequence 74 can now be processed. Counting the gap fill as an ordinary single message would leave the receiver expecting 72 and manufacture a gap. A second copy of this same gap fill observed after 74 has already been processed cannot move that direction’s counter backwards.
A gap fill reveals the positions the sender skipped. Its bytes do not identify the original message types or business contents at those positions. Reconcile those against the sender’s journal if the distinction matters. FIXT 1.1, Sequence Reset modes
Reset mode and a new sequence series
For 35=4, a value of 123=N or an absent tag 123 selects reset mode. Here the receiver uses tag 36 to establish the new inbound expectation. The header sequence number has no role in the ordinary gap test for this message. An attempted backward adjustment deserves investigation. Any application effects in the skipped range still require reconciliation.
A Logon carrying 35=A|34=1|141=Y| initiates a different operation when the parties have agreed to reset their session. Inspect the peer’s Logon response before joining histories across a restart. A TCP reconnect by itself can continue an existing sequence series. FIX Session Layer, session establishment and recovery