You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The E2E failure came from passing zero-based indexes to SessionDataSet.Get*ByIndex, which expects one-based indexes. Index 0 became internal index -1, causing index -1 out of range 6. The helper now reads ProcedureId from index 1, State from index 5, and ErrorMessage from index 6.
git diff --check passed. Local Go tests and Docker-backed E2E were not run because Go and Docker are unavailable in this environment. Reviewed head: 419270c3eb65434649325ec9025d37218f8205df. Fix commit, local HEAD, and confirmed fork/PR head: 5b9cbeaf4cae884d0c2d695ea0041f4c7dfde531. PR remains open and draft; CI for the fix is pending.
The deletion progress query returned a rolled-back procedure with client.PathNotExist (508) because the pre-test cleanup wildcard had no matching timeseries. This is an expected cleanup no-op. The E2E helper now treats only that status as completed; other rollback statuses still fail.
git diff --check passed. Go tests and Docker-backed E2E were not run locally because Go and Docker are unavailable. Reviewed head: 5b9cbeaf4cae884d0c2d695ea0041f4c7dfde531. Fix commit, local HEAD, and confirmed fork/PR head: 6e88551c67eb6323e5d548decec481c751507a16. PR remains open and draft; CI after this commit is pending.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
DeleteTimeseriescan return after submitting asynchronous work. The aligned-tablet E2E tests then immediately reuseroot.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 PROGRESSuntil the new procedure reachesSUCCESS. The helper fails onROLLEDBACKand 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.