[BUG] <title>is not a legal path
- Dominant language
- Java
- Stars
- 7.4k
- Forks
- 1.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 32
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
```
2023-06-21 14:11:36,049 [pool-16-IoTDB-RPC-Client-3] WARN o.a.i.d.u.ErrorHandlingUtils:168 - Status code: PATH_ILLEGAL(315), operation: insertTablet failed
2023-06-21T06:11:36.050186928Z org.apache.iotdb.db.exception.metadata.IllegalPathException: root.hertzbeat.ssl_cert.certificate.265623748344832."CN=Starfield Services Root Certificate Authority - G2, O="Starfield Technologies, Inc.", L=Scottsdale, ST=Arizona, C=US" is not a legal path
2023-06-21T06:11:36.050189802Z at org.apache.iotdb.db.metadata.utils.MetaUtils.splitPathToDetachedPath(MetaUtils.java:80)
2023-06-21T06:11:36.050191469Z at org.apache.iotdb.db.metadata.path.PartialPath.(PartialPath.java:81)
2023-06-21T06:11:36.050192903Z at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.insertTablet(TSServiceImpl.java:1614)
2023-06-21T06:11:36.050194133Z at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$insertTablet.getResult(TSIService.java:3601)
2023-06-21T06:11:36.050199948Z at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$insertTablet.getResult(TSIService.java:3581)
2023-06-21T06:11:36.050201177Z at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
2023-06-21T06:11:36.050202287Z at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
2023-06-21T06:11:36.050203404Z at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248)
```
### Expected Behavior
_No response_
### Steps To Reproduce
https://github.com/dromara/hertzbeat/tree/master/script/docker-compose/hertzbeat-mysql-iotdb
### Environment
```markdown
HertzBeat version(s):v1.3.1
```
### Debug logs
_No response_
### Anything else?
_No response_
Contributor guide
Research direction
Start with script/docker-compose/hertzbeat-mysql-iotdb and reproduce the insertTablet failure using the reported certificate path. Trace the call through TSServiceImpl.insertTablet, PartialPath, and MetaUtils.splitPathToDetachedPath, then inspect related tests or path-validation behavior. Done means the reported certificate value is handled consistently without the PATH_ILLEGAL failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100