QuestDB JavaScript Client - v5.0.0
    Preparing search index...

    Node store-and-forward journal with configurable local durability.

    The active fixed-size segment and one hot spare remain open for positional writes. append fsyncs each frame, periodic batches barriers, and memory relies on OS writeback. An ACK persists its cursor before bounded background trimming. A crash between the server ACK and local deletion can cause at-least-once replay. An exclusive, lifetime lock prevents another process from recovering or mutating the same directory.

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Internal

      Removes a local prefix without representing it as a server ACK. Persistent stores should provide this when recovery can abandon frames.

      "Without representing it as a server ACK" is about the transport's public watermark, which the caller leaves alone. The removal itself must be as durable as acknowledgeThrough's: a discarded prefix that a later load() can still see is a prefix this client reported abandoned and then sent anyway.

      Parameters

      • frameSequence: bigint

      Returns Promise<void>