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
Please describe the issue you observed, and any steps we can take to reproduce it:
There have been flakes in several tests that require the test to wait up to 5 seconds for a RESTORed/IMPORTed table to be no longer seen as offline.
To Reproduce
Run the TestBackupRestoreWithConcurrentWrites test under stress (be sure to remove the code the adds the 5 second delay).
Expected behavior
The table descriptor should no longer be visible in the offline state as soon as the RESTORE or IMPORT completes.
Additional data / screenshots
According to the table descriptor lease RFC, table leases may be held for up to 2 version changes (which may explain why we're seeing table descriptors one version behind).
Preliminary experiments have been done to add an intermediary state and OnSuccess of the job mark the table as PUBLIC_STAGING then PUBLIC. However, when the test is run under stress we still see failures.
Additional context
What was the impact?
Test flakiness
The text was updated successfully, but these errors were encountered:
This test has been flaky because the TableDescriptor being read is being
seen as OFFLINE. This issue seems to disappear after waiting a bit. This
also happens during IMPORT and this issue was avoided in a similar way
(see cockroachdb#36832).
This should be removed and cockroachdb#40951 is tracking this issue.
Release justification: Work-around for a flaky test.
Release note: None
This test has been flaky because the TableDescriptor being read is being
seen as OFFLINE. This issue seems to disappear after waiting a bit. This
also happens during IMPORT and this issue was avoided in a similar way
(see cockroachdb#36832).
This should be removed and cockroachdb#40951 is tracking this issue.
Release justification: Work-around for a flaky test.
Release note: None
pbardea
added a commit
to pbardea/cockroach
that referenced
this issue
Sep 23, 2019
This test has been flaky because the TableDescriptor being read is being
seen as OFFLINE. This issue seems to disappear after waiting a bit. This
also happens during IMPORT and this issue was avoided in a similar way
(see cockroachdb#36832).
This should be removed and cockroachdb#40951 is tracking this issue.
Release justification: Work-around for a flaky test.
Release note: None
Describe the problem
Please describe the issue you observed, and any steps we can take to reproduce it:
There have been flakes in several tests that require the test to wait up to 5 seconds for a RESTORed/IMPORTed table to be no longer seen as offline.
To Reproduce
Run the
TestBackupRestoreWithConcurrentWrites
test under stress (be sure to remove the code the adds the 5 second delay).Expected behavior
The table descriptor should no longer be visible in the offline state as soon as the RESTORE or IMPORT completes.
Additional data / screenshots
According to the table descriptor lease RFC, table leases may be held for up to 2 version changes (which may explain why we're seeing table descriptors one version behind).
Preliminary experiments have been done to add an intermediary state and
OnSuccess
of the job mark the table asPUBLIC_STAGING
thenPUBLIC
. However, when the test is run under stress we still see failures.Additional context
What was the impact?
The text was updated successfully, but these errors were encountered: