Skip to content

distsql: update HLC when distsql messages are exchanged #7526

@RaduBerinde

Description

@RaduBerinde

With distsql, hosts might not talk to each other through kv/dist_sender, but only through distsql. So we need the distsql layer to update the logical clocks.

For streams, it's not clear if we need to send and update on every message, or it would be sufficient to do it only once per stream (in the header).

CC @andreimatei

Jira issue: CRDB-6177

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-sql-executionRelating to SQL execution.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV TeamT-sql-queriesSQL Queries Team

    Type

    No type

    Projects

    Status

    Cold Storage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions