|
|
|
|
|
by jonhohle
1373 days ago
|
|
So the TSDB is being recorded, it’s just not queryable, or it’s not binary compatible with whatever the future in disk format will look like? Is the time series replicated and merged between nodes or does each have its own log for the keys it manages? |
|
The timeseries will depend on the keys, as it's the historical sequence of values, so it will be replicated and merged on the nodes that own that specific key in active-active replication with the required replication mode.
Although not mandatory, for the active-active replication mode cachegrand will provide a front-end proxy that "understands" which is the correct node for a key and send the necessary data to always the same node (or subset of nodes, depending on the configuration).
The replication itself will be last-write-wins, if the order of the writes matter it will be important to write always to the same node (very common pattern to reduce syncing and locking on the replication side).