Skip to content

Support for Point-In-Time Queries #797

@jmeyers35

Description

@jmeyers35

Is your feature request related to a problem? Please describe.

Queries are a useful way to debug long-running or closed Workflow executions, but they always entail replaying the entire workflow history. Sometimes, if a workflow has a lot of internal state that changes throughout its lifetime, it could be useful to interrogate what its state was at a particular point in time.

Describe the solution you'd like

The ability to query a Workflow at a particular history event. In other words, the ability to specify an event N along with the Query. The Workflow will only be replayed up to event N before returning the Query result.

Additional context

Potentially related issue: #233

Per-SDK Tickets

  • Go -
  • Java -
  • TypeScript -
  • Python -
  • .NET -
  • Ruby -
  • Rust -
  • PHP -
  • Temporal CLI -

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions