Skip to content

importer: unit test that reproduces delayed AddSSTable application#91407

Closed
stevendanna wants to merge 1 commit intocockroachdb:masterfrom
stevendanna:debug-import-cancellation
Closed

importer: unit test that reproduces delayed AddSSTable application#91407
stevendanna wants to merge 1 commit intocockroachdb:masterfrom
stevendanna:debug-import-cancellation

Conversation

@stevendanna
Copy link
Copy Markdown
Collaborator

No description provided.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable


func (idp *readImportDataProcessor) close() {
if idp.Closed {
return
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question i have for the queries team: does idp.Closed==true imply that the context passed to Start() has been closed? I couldn't understand this easily from poking around processorBase.

Copy link
Copy Markdown
Collaborator

@msbutler msbutler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this unit test is :chef-kiss

@@ -159,46 +157,46 @@ func (tc *TestCluster) stopServers(ctx context.Context) {
// was passed in at cluster creation time). We should not allow the Tracer to
// be passed in like this, and we should then also added this registry
// draining check to individual TestServers.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did this leak into this pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants