You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2023. It is now read-only.
Data comes into Metrictank on the data topic (let's call that mdm) and when chunks are persisted to cassandra, summaries of the chunk are sent to the persist topic (let's call that persist). On start up, MT uses persist to avoid overwriting chunks in cassandra that were already persisted. This means that it is important that the summaries in persist line up with the data in mdm for the instance handling a given partition.
MT doesn't really enforce how the data in mdm is partitioned, just that partitioning is consistent.
Partitioning in persist is either "ByOrg" or "BySeries" (see here and here). If this isn't how data in mdm is partitioned, there is trouble.
It seems to me that the simpler solution is to simply use def.Partition to put the summaries into persist.
I am rolling out this change on our side and can submit a cleanup PR. I'm not sure if removing the parameter entirely is backwards compatible or not, however.
The text was updated successfully, but these errors were encountered:
It seems to me that the simpler solution is to simply use def.Partition to put the summaries into persist
+1. more robust and more efficient probably
I'm not sure if removing the parameter entirely is backwards compatible or not, however.
the parameters purpose is to try to make sure partitioning is consistent. your approach does that more accurately, so is better. parameter can be dropped.
Data comes into Metrictank on the data topic (let's call that
mdm
) and when chunks are persisted to cassandra, summaries of the chunk are sent to the persist topic (let's call thatpersist
). On start up, MT usespersist
to avoid overwriting chunks in cassandra that were already persisted. This means that it is important that the summaries inpersist
line up with the data inmdm
for the instance handling a given partition.mdm
is partitioned, just that partitioning is consistent.persist
is either "ByOrg" or "BySeries" (see here and here). If this isn't how data inmdm
is partitioned, there is trouble.It seems to me that the simpler solution is to simply use def.Partition to put the summaries into
persist
.I am rolling out this change on our side and can submit a cleanup PR. I'm not sure if removing the parameter entirely is backwards compatible or not, however.
The text was updated successfully, but these errors were encountered: