@@ -386,7 +386,7 @@ Deliver => Key Version SubscriptionId OsirisChunk
386386 Key => uint16 // 0x0008
387387 Version => uint16
388388 SubscriptionId => uint8
389- OsirisChunk => MagicVersion NumEntries NumRecords Epoch ChunkFirstOffset ChunkCrc DataLength Messages
389+ OsirisChunk => MagicVersion ChunkType NumEntries NumRecords Timestamp Epoch ChunkFirstOffset ChunkCrc DataLength TrailerLength BloomSize Reserved Messages
390390 MagicVersion => int8
391391 ChunkType => int8 // 0: user, 1: tracking delta, 2: tracking snapshot
392392 NumEntries => uint16
@@ -397,9 +397,8 @@ Deliver => Key Version SubscriptionId OsirisChunk
397397 ChunkCrc => int32
398398 DataLength => uint32
399399 TrailerLength => uint32
400- BloomSize => uint8 // size of bloom filter data
400+ BloomSize => uint8 // size of bloom filter data, ignored at the moment
401401 Reserved => uint24 // 24 bits reserved for future use
402- BloomFilterData => [uint8] // bloom filter data, the size of the array is defined by BloomSize
403402 Messages => [Message] // a continous collection of messages, the size of the array is defined by NumEntries
404403 Message => EntryTypeAndSize
405404 Data => bytes
@@ -413,7 +412,7 @@ Deliver => Key Version SubscriptionId CommittedOffset OsirisChunk
413412 Version => uint16
414413 SubscriptionId => uint8
415414 CommittedChunkId => uint64
416- OsirisChunk => MagicVersion NumEntries NumRecords Epoch ChunkFirstOffset ChunkCrc DataLength Messages
415+ OsirisChunk => MagicVersion ChunkType NumEntries NumRecords Timestamp Epoch ChunkFirstOffset ChunkCrc DataLength TrailerLength BloomSize Reserved Messages
417416 MagicVersion => int8
418417 ChunkType => int8 // 0: user, 1: tracking delta, 2: tracking snapshot
419418 NumEntries => uint16
@@ -424,9 +423,8 @@ Deliver => Key Version SubscriptionId CommittedOffset OsirisChunk
424423 ChunkCrc => int32
425424 DataLength => uint32
426425 TrailerLength => uint32
427- BloomSize => uint8 // size of bloom filter data
426+ BloomSize => uint8 // size of bloom filter data, ignored at the moment
428427 Reserved => uint24 // 24 bits reserved for future use
429- BloomFilterData => [uint8] // bloom filter data, the size of the array is defined by BloomSize
430428 Messages => [Message] // a continous collection of messages, the size of the array is defined by NumEntries
431429 Message => EntryTypeAndSize
432430 Data => bytes
0 commit comments