CompactNowResult
This content is not available in your language yet.
type CompactNowResult = | { checkpointId?: string; outcome: CompactOutcomeSuccess; status: "compacted";} | { outcome: CompactOutcomeFailure; status: "failed";} | { reason: CompactNowRejectReason; status: "rejected";};compactNow 的结算结果(在下一个屏障点执行后兑现)
{ checkpointId?: string; outcome: CompactOutcomeSuccess; status: "compacted";}K-5:checkpointId = beforeCompact 钩子落的压缩前快照 id(与 outcome.checkpointId 同值;缺席 = 未落)
{ outcome: CompactOutcomeFailure; status: "failed";}失败时已落的快照不回滚(D-11 A):id 见 outcome.checkpointId
{ reason: CompactNowRejectReason; status: "rejected";}Was this page helpful?
Thanks for your feedback.