Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix rabbitmq contains duplicated metric #1322

Merged
merged 2 commits into from
Nov 8, 2023
Merged

Conversation

tomsun28
Copy link
Contributor

@tomsun28 tomsun28 commented Nov 7, 2023

What's changed?

bugfix rabbitmq contains duplicated metric, it cause iotdb Insertion contains duplicated measurement error

2023-11-07 20:00:12 [warehouse-persistent-data-storage] ERROR org.dromara.hertzbeat.warehouse.store.HistoryIotDbDataStorage - 411: Insertion contains duplicated measurement: connection_closed
org.apache.iotdb.rpc.StatementExecutionException: 411: Insertion contains duplicated measurement: connection_closed
	at org.apache.iotdb.rpc.RpcUtils.verifySuccess(RpcUtils.java:98)
	at org.apache.iotdb.rpc.RpcUtils.verifySuccessWithRedirection(RpcUtils.java:119)
	at org.apache.iotdb.session.SessionConnection.verifySuccessWithRedirectionWrapper(SessionConnection.java:526)
	at org.apache.iotdb.session.SessionConnection.insertTablet(SessionConnection.java:643)
	at org.apache.iotdb.session.Session.insertTablet(Session.java:2139)
	at org.apache.iotdb.session.pool.SessionPool.insertTablet(SessionPool.java:576)
	at org.dromara.hertzbeat.warehouse.store.HistoryIotDbDataStorage.saveData(HistoryIotDbDataStorage.java:237)
	at org.dromara.hertzbeat.warehouse.store.DataStorageDispatch.lambda$startStoragePersistentData$3(DataStorageDispatch.java:91)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Checklist

  • I hereby agree to the terms of the HertzBeat CLA
  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

@tomsun28 tomsun28 merged commit d17fecc into master Nov 8, 2023
2 checks passed
@tomsun28 tomsun28 deleted the bugfix#duplicated branch November 8, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant