Skip to content

Add support for advancing LSQT #412

Closed
@wooldridge

Description

@wooldridge

Background from the MarkLogic documentation:

"A special timestamp, called the LSQT (Last Stable Query Time), can be enabled on a temporal collection to manage system start times across documents with different URIs. A temporal document with a system start time before the LSQT can only be queried and a document with a system start time after the LSQT can be updated / ingested, but not queried. You can advance the LSQT, either manually or automatically, to manage which documents are available to be queried and which documents can be updated."

The REST API has been updated thusly:

POST /v1/temporal/collections/COLLECTION_NAME?result=advance-lsqt&lag=SECONDS

where

  • result is required and can only be "advance-lsqt"
  • lag is optional and must be convertible to an xs:long

More background is here:

https://bugtrack.marklogic.com/30342

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions