[Bug] Mysql Storage Data too long for column 'dest_endpoint' #13348
-
Search before asking
Apache SkyWalking ComponentOAP server (apache/skywalking) What happenedI want to know whether skywalking-oap can offer a configuration item to let developers set the max length for each column by ourselves. I can modify table column with ddl sql, but it seems that skywalking will create new tables by timestamp automatically. I can not modify evey automatically created tables. 2025-07-01 03:43:06,103 org.apache.skywalking.oap.server.storage.plugin.jdbc.common.dao.JDBCBatchDAO 81 [pool-3-thread-1] ERROR [] - [9.7.0-066457b] Data truncation: Data too long for column 'dest_endpoint' at row 1 What you expected to happenI want to know whether skywalking-oap can offer a configuration item to let developers set the max length for each column by ourselves. How to reproducejust deploy a skywalking oap 9.7.0 and then start java application with skywalking-agent, such errors will happen after a few hours 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: 9 comments 2 replies
-
9.7 is not the latest version. We can't verify years ago release. |
Beta Was this translation helpful? Give feedback.
-
Do you mean it has already been fixed int the latest version? Are you sure? Can you show me the commit? |
Beta Was this translation helpful? Give feedback.
-
I can't be sure. My team and I are not using MySQL/JDBC storage for the product. |
Beta Was this translation helpful? Give feedback.
-
My point is, we don't fix for old release, and it has to be something happened in the latest release. |
Beta Was this translation helpful? Give feedback.
-
So the mysql storage implementation is not stable and your team will not support such a storage any more? |
Beta Was this translation helpful? Give feedback.
-
This is not my team's work to support that. In ASF, it is the whole community's thing, and driven by volunteers. So, I don't know whether it is stable. But people are using it, and as I mentioned above, someone fixed things in 10.1. Hope you understand the points, and don't treat me as the only one maintaining skywalking. |
Beta Was this translation helpful? Give feedback.
-
Features in skywalking are from global contributors/maintainers. I may only use 50% most. So, I am not using doesn't mean for anything about stability and being maintained. |
Beta Was this translation helpful? Give feedback.
-
I might found the problem, i start skywalking-oap as a k8s deployment with "cluster=standalone",and i found there's a timer task which will downsampling metrics data. |
Beta Was this translation helpful? Give feedback.
-
If that is the cause, just choose a proper cluster coordinator. You could find the doc in OAP cluster sections. |
Beta Was this translation helpful? Give feedback.
If that is the cause, just choose a proper cluster coordinator. You could find the doc in OAP cluster sections.
And if this is the root cause, you will face not just PK conflicts, your data(telemetry) will be overrided(as a kind of dirty write), which cause data inaccurate.