-
Search before asking
Apache SkyWalking ComponentOAP server (apache/skywalking) What happenedHello, Mr. Wu, the oap metrics updates the metrics every 25 seconds. The update process is to query the latest historical metrics data first, then aggregate it with the current value, and then save it to the storage. If the current storage uses multiple copies and the master-slave replication is asynchronous, there will be inaccurate metrics updates. For example, during asynchronous replication, the data has not been copied to the slave node, and the slave node is queried at this time. At this time, the query data is inaccurate, resulting in inaccurate update metrics data. For example, if MySQL uses master-slave or Clickhouse uses multiple copies, this problem will occur. Hello, Mr. Wu, how to deal with this problem? What you expected to happenHello, Mr. Wu, the oap metrics updates the metrics every 25 seconds. The update process is to query the latest historical metrics data first, then aggregate it with the current value, and then save it to the storage. If the current storage uses multiple copies and the master-slave replication is asynchronous, there will be inaccurate metrics updates. For example, during asynchronous replication, the data has not been copied to the slave node, and the slave node is queried at this time. At this time, the query data is inaccurate, resulting in inaccurate update metrics data. For example, if MySQL uses master-slave or Clickhouse uses multiple copies, this problem will occur. Hello, Mr. Wu, how to deal with this problem? How to reproduceWhen the master-slave data is not synchronized, such as ClickHouse, we shut down the coordinator keeper. At this time, the master-slave will not be synchronized, and the data on both sides will be inconsistent. Anything elseNo response Are you willing to submit a pull request to fix on your own?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
How do you get the conclusion? OAP doesn't read, it has internal cache.
We don't have Clickhouse storage option. This is not our concern. |
Beta Was this translation helpful? Give feedback.
How do you get the conclusion? OAP doesn't read, it has internal cache.
We don't have Clickhouse storage option. This is not our concern.