fix: close stream adaptive gaps and switch notify to stario v0.1.1
- make stream fast path honor adaptive soft payload limits end-to-end - split oversized fast-stream payloads into sequential frames before batching - use adaptive soft cap when encoding stream batch payloads - move timeout-like error detection into production code for adaptive tx - tune notify FrameReader read size explicitly to avoid throughput regression - drop local stario replace and depend on released b612.me/stario v0.1.1
This commit is contained in:
+50
-43
@@ -7,49 +7,56 @@ import (
|
||||
)
|
||||
|
||||
type BulkSnapshot struct {
|
||||
ID string
|
||||
DataID uint64
|
||||
Scope string
|
||||
Range BulkRange
|
||||
Metadata BulkMetadata
|
||||
BindingOwner string
|
||||
BindingAlive bool
|
||||
BindingCurrent bool
|
||||
BindingReason string
|
||||
BindingError string
|
||||
Dedicated bool
|
||||
DedicatedAttached bool
|
||||
SessionEpoch uint64
|
||||
LogicalClientID string
|
||||
TransportGeneration uint64
|
||||
TransportAttached bool
|
||||
TransportHasRuntimeConn bool
|
||||
TransportCurrent bool
|
||||
TransportDetachReason string
|
||||
TransportDetachKind string
|
||||
TransportDetachGeneration uint64
|
||||
TransportDetachError string
|
||||
TransportDetachedAt time.Time
|
||||
ReattachEligible bool
|
||||
LocalClosed bool
|
||||
LocalReadClosed bool
|
||||
RemoteClosed bool
|
||||
PeerReadClosed bool
|
||||
BufferedChunks int
|
||||
BufferedBytes int
|
||||
ReadTimeout time.Duration
|
||||
WriteTimeout time.Duration
|
||||
ChunkSize int
|
||||
WindowBytes int
|
||||
MaxInFlight int
|
||||
BytesRead int64
|
||||
BytesWritten int64
|
||||
ReadCalls int64
|
||||
WriteCalls int64
|
||||
OpenedAt time.Time
|
||||
LastReadAt time.Time
|
||||
LastWriteAt time.Time
|
||||
ResetError string
|
||||
ID string
|
||||
DataID uint64
|
||||
FastPathVersion uint8
|
||||
Scope string
|
||||
Range BulkRange
|
||||
Metadata BulkMetadata
|
||||
BindingOwner string
|
||||
BindingAlive bool
|
||||
BindingCurrent bool
|
||||
BindingReason string
|
||||
BindingError string
|
||||
BindingBulkAdaptiveSoftPayloadBytes int
|
||||
Dedicated bool
|
||||
DedicatedLaneID uint32
|
||||
DedicatedAttached bool
|
||||
DedicatedAttachState string
|
||||
DedicatedAttachAttempts uint32
|
||||
DedicatedAttachLastCode string
|
||||
DedicatedDataStarted bool
|
||||
SessionEpoch uint64
|
||||
LogicalClientID string
|
||||
TransportGeneration uint64
|
||||
TransportAttached bool
|
||||
TransportHasRuntimeConn bool
|
||||
TransportCurrent bool
|
||||
TransportDetachReason string
|
||||
TransportDetachKind string
|
||||
TransportDetachGeneration uint64
|
||||
TransportDetachError string
|
||||
TransportDetachedAt time.Time
|
||||
ReattachEligible bool
|
||||
LocalClosed bool
|
||||
LocalReadClosed bool
|
||||
RemoteClosed bool
|
||||
PeerReadClosed bool
|
||||
BufferedChunks int
|
||||
BufferedBytes int
|
||||
ReadTimeout time.Duration
|
||||
WriteTimeout time.Duration
|
||||
ChunkSize int
|
||||
WindowBytes int
|
||||
MaxInFlight int
|
||||
BytesRead int64
|
||||
BytesWritten int64
|
||||
ReadCalls int64
|
||||
WriteCalls int64
|
||||
OpenedAt time.Time
|
||||
LastReadAt time.Time
|
||||
LastWriteAt time.Time
|
||||
ResetError string
|
||||
}
|
||||
|
||||
type clientBulkSnapshotReader interface {
|
||||
|
||||
Reference in New Issue
Block a user