Skip to content

cli: Example_demo_locality failed ["change replicas of r61 failed: descriptor changed" during SPLIT] #84122

@cockroach-teamcity

Description

@cockroach-teamcity

cli.Example_demo_locality failed with artifacts on master @ 54b4fcaa231abd16260fb09722ed291dbd6a4900:

=== RUN   Example_demo_locality
--- FAIL: Example_demo_locality (14.66s)
got:
demo --nodes 3 --multitenant=false -e select node_id, locality from crdb_internal.gossip_nodes order by node_id
node_id	locality
1	region=us-east1,az=b
2	region=us-east1,az=c
3	region=us-east1,az=d
demo --nodes 9 --multitenant=false -e select node_id, locality from crdb_internal.gossip_nodes order by node_id
ERROR: executing ALTER TABLE vehicles SPLIT AT VALUES ('san francisco','88888888-8888-4800-8000-000000000008'): pq: change replicas of r61 failed: descriptor changed: [expected] r61:/{Table/106/1/"washington dc"/"L\xcc\xcc\xcc\xcc\xccL\x00\x80\x00\x00\x00\x00\x00\x00\x0f"-Max} [(n2,s2):1, (n7,s7):2, (n5,s5):3VOTER_DEMOTING_LEARNER, (n6,s6):4VOTER_INCOMING, next=5, gen=13, sticky=9223372036.854775807,2147483647] != [actual] r61:/{Table/106/1/"washington dc"/"L\xcc\xcc\xcc\xcc\xccL\x00\x80\x00\x00\x00\x00\x00\x00\x0f"-Max} [(n2,s2):1, (n7,s7):2, (n6,s6):4VOTER_DEMOTING_LEARNER, (n5,s5):5VOTER_INCOMING, next=6, gen=17, sticky=9223372036.854775807,2147483647]
demo --nodes 3 --multitenant=false --demo-locality=region=us-east1:region=us-east2:region=us-east3 -e select node_id, locality from crdb_internal.gossip_nodes order by node_id
node_id	locality
1	region=us-east1
2	region=us-east2
3	region=us-east3
want:
demo --nodes 3 --multitenant=false -e select node_id, locality from crdb_internal.gossip_nodes order by node_id
node_id	locality
1	region=us-east1,az=b
2	region=us-east1,az=c
3	region=us-east1,az=d
demo --nodes 9 --multitenant=false -e select node_id, locality from crdb_internal.gossip_nodes order by node_id
node_id	locality
1	region=us-east1,az=b
2	region=us-east1,az=c
3	region=us-east1,az=d
4	region=us-west1,az=a
5	region=us-west1,az=b
6	region=us-west1,az=c
7	region=europe-west1,az=b
8	region=europe-west1,az=c
9	region=europe-west1,az=d
demo --nodes 3 --multitenant=false --demo-locality=region=us-east1:region=us-east2:region=us-east3 -e select node_id, locality from crdb_internal.gossip_nodes order by node_id
node_id	locality
1	region=us-east1
2	region=us-east2
3	region=us-east3

Parameters: TAGS=bazel,gss

Help

See also: How To Investigate a Go Test Failure (internal)

/cc @cockroachdb/sql-experience @cockroachdb/server @cockroachdb/server

This test on roachdash | Improve this report!

Jira issue: CRDB-17471

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions