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.
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 usespersistto avoid overwriting chunks in cassandra that were already persisted. This means that it is important that the summaries inpersistline up with the data inmdmfor the instance handling a given partition.mdmis partitioned, just that partitioning is consistent.persistis either "ByOrg" or "BySeries" (see here and here). If this isn't how data inmdmis 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.