Caideyipi opened a new pull request, #181:
URL: https://github.com/apache/iotdb-client-go/pull/181

   ## Bug
   `DeleteTimeseries` can return after submitting asynchronous work. The 
aligned-tablet E2E tests then immediately reuse `root.ln.device1`, so inserts 
may race with the pending deletion or observe data left by a previous run.
   
   ## Fix
   Record the latest deletion procedure ID, check the delete request error, and 
poll `SHOW DELETE TIMESERIES PROGRESS` until the new procedure reaches 
`SUCCESS`. The helper fails on `ROLLEDBACK` and times out after 60 seconds.
   
   For example, tests deleting `root.ln.device1.**` now wait for that deletion 
to complete before inserting the next tablet.
   
   ## Validation
   Go client and subscription tests pass, the E2E package compiles, and `go 
build ./...` passes. The full E2E run was not run locally because Docker is 
unavailable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to