Skip to content

serverccl: package times out during shutdown causing flakes #85944

@rafiss

Description

@rafiss

Describe the problem

The serverccl package has been timing out.

One theory:

Seems like the server fails to shut down because we’re waiting for quiescence but the contexts are not getting canceled correctly or something and we’re in an infinite retry inside kv/kvclient/rangecache.(*RangeCache).tryLookup.

Using a bisect I landed on 262a70d as the first bad commit, but I don't see why.

To Reproduce

The TestNoInflightTracesVirtualTableOnTenant test reproes it.

./dev test pkg/ccl/serverccl --stress --filter=TestNoInflightTracesVirtualTableOnTenant --timeout=2m --test-args='-test.timeout 20s'

Jira issue: CRDB-18494

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.C-test-failureBroken test (automatically or manually discovered).branch-masterFailures and bugs on the master branch.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions