Grove.Tree.HistoryEntry (Grove v0.1.1)

View Source

Represents a single entry in the operation history.

Each entry captures:

  • :id - Unique identifier {replica_id, sequence}
  • :timestamp - Unix timestamp in milliseconds when the operation occurred
  • :operation - The operation tuple (may include trailing metadata)
  • :node_ids - List of node IDs affected by this operation

Summary

Types

t()

@type t() :: %Grove.Tree.HistoryEntry{
  id: {String.t(), non_neg_integer()},
  node_ids: [String.t()],
  operation: tuple(),
  timestamp: non_neg_integer()
}