StoreInput
SessionHistoryStore.store 的入参:新封存段(可空)与含本段后的新清单,附代际 CAS 期望值。
endUserKey
Section titled “endUserKey”endUserKey: string;expectedGeneration
Section titled “expectedGeneration”expectedGeneration: number;= manifest.generation − 1;不匹配须抛 precondition_failed
manifest
Section titled “manifest”manifest: SegmentManifest;含本段后的新清单
segment
Section titled “segment”segment: | { body: ReadableStream<Uint8Array<ArrayBufferLike>>; entry: SegmentEntry;} | null;null = 仅清单变更(如附件 / 快照登记)
sessionId
Section titled “sessionId”sessionId: string;signal?
Section titled “signal?”optional signal?: any;volumeId
Section titled “volumeId”volumeId: string;本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。