Comments (3)
The lease hits this unexpected error when attempting to switch the lease type in pre-processing by the lease queue:
E240525 08:51:03.323593 6990355 kv/kvserver/queue.go:1202 ⋮ [T1,Vsystem,n3,lease,s3,r69/3:‹/{Table/Max-Max}›] 415 expiration of liveness record liveness(nid:3 epo:1 exp:1716627069.258107621,0) is not greater than expiration of the previous lease repl=(n3,s3):3 seq=2 start=1716627063.286141249,0 exp=1716627069.285657100,0 pro=1716627063.285657100,0 after liveness heartbeat
The lease does actually transfer later, right before the test shuts down the cluster:
I240525 08:51:48.622312 8480724 13@kv/kvserver/lease_queue.go:143 ⋮ [T1,Vsystem,n2,lease,s2,r69/2:‹/{Table/Max-Max}›] 1152 transferring lease to s1 usage=[batches/s=0.0 request_cpu/s=0µs raft_cpu/s=0µs write(keys)/s=0.0 write(bytes)/s=0 B read(keys)/s=0.0 read(bytes)/s=0 B]
This is potentially related to #124223, which merged two weeks prior.
from cockroach.
Actually, the error is from:
cockroach/pkg/kv/kvserver/replica_range_lease.go
Lines 553 to 554 in a7aad51
Which was was added in #123442. Not having looked much deeper, this appears like a case we may have permitted previously but do not now. cc @nvanbenschoten.
from cockroach.
kv/kvserver.TestLeaseQueueProactiveEnqueueOnPreferences failed on master @ bd4c5fd7c65c0a9afa8ba05675e49747a4f68881:
=== RUN TestLeaseQueueProactiveEnqueueOnPreferences
test_log_scope.go:170: test logs captured to: outputs.zip/logTestLeaseQueueProactiveEnqueueOnPreferences2520501900
test_log_scope.go:81: use -show-logs to present logs inline
lease_queue_test.go:410: -- test log scope end --
test logs left over in: outputs.zip/logTestLeaseQueueProactiveEnqueueOnPreferences2520501900
--- FAIL: TestLeaseQueueProactiveEnqueueOnPreferences (56.39s)
=== RUN TestLeaseQueueProactiveEnqueueOnPreferences/less-preferred
lease_queue_test.go:398: condition failed to evaluate within 45s: from lease_queue_test.go:404: lease not on preferred node 1, on n2,s2
--- FAIL: TestLeaseQueueProactiveEnqueueOnPreferences/less-preferred (45.20s)
Parameters:
attempt=1
deadlock=true
run=1
shard=22
Same failure on other branches
- #124691 kv/kvserver: TestLeaseQueueProactiveEnqueueOnPreferences failed [C-test-failure O-robot P-1 T-kv X-duplicate branch-release-24.1 release-blocker]
This test on roachdash | Improve this report!
from cockroach.
Related Issues (20)
- pkg/sql/logictest/tests/fakedist-vec-off/fakedist-vec-off_test: TestLogic_hash_join failed HOT 1
- ccl/changefeedccl: TestChangefeedHandlesDrainingNodes failed HOT 1
- pkg/sql/logictest/tests/cockroach-go-testserver-23.1/cockroach-go-testserver-23_1_test: TestLogic_mixed_version_procedure failed HOT 1
- kv/kvserver: TestNewRangefeedForceLeaseRetry failed HOT 2
- pkg/sql/logictest/tests/cockroach-go-testserver-23.1/cockroach-go-testserver-23_1_test: TestLogic_upgrade_skip_version failed HOT 1
- pkg/sql/logictest/tests/cockroach-go-testserver-23.1/cockroach-go-testserver-23_1_test: TestLogic_upgrade_skip_version failed HOT 1
- kv/kvserver: TestReplicateQueueRebalanceMultiStore failed HOT 1
- pkg/sql/logictest/tests/local-vec-off/local-vec-off_test: TestLogic_hash_join failed HOT 4
- acceptance: TestCompose failed [port 26257 failed: Connection refused]
- : failed HOT 1
- roachprod: The insecure flag is not considered when deleting a cluster HOT 2
- roachtest: schemachange/mixed-versions failed HOT 1
- sql/tests: TestCreateRandomSchema failed [column "crdb_internal_idx_expr" does not exist] HOT 1
- sql: histogram does not match column type after ALTER TABLE ALTER COLUMN SET DATA TYPE HOT 3
- ccl/changefeedccl: TestChangefeedDescription failed HOT 1
- ccl/changefeedccl: TestChangefeedPropagatesTerminalError failed HOT 1
- pkg/sql/logictest/tests/fakedist-vec-off/fakedist-vec-off_test: TestLogic_hash_join failed HOT 2
- kv/kvserver: TestRaftTransportClockPropagation failed HOT 1
- roachtest: unoptimized-query-oracle/disable-rules=half/rand-tables failed HOT 1
- Memory Leak in 23.2.xx HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cockroach.