-
Notifications
You must be signed in to change notification settings - Fork 4.1k
raft: nil pointer dereference in multiNode.run #3010
Copy link
Copy link
Closed
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).
Description
The following test appears to have failed:
I1105 00:35:09.234897 929 storage/replica_gc_queue.go:125 destroying local data from range 1
I1105 00:35:09.235841 929 storage/store.go:1475 changing raft replica {3 3 8} for range 1
E1105 00:35:09.237934 929 storage/store.go:1543 storage/store.go:1542: got committed raft command for 1 but have no range with that ID: {RangeID:1 OriginReplica:{NodeID:1 StoreID:1 ReplicaID:1} Cmd:BeginTransaction ["\x00\x00\x00k1\x00\x01rdsc",""), ConditionalPut ["\x00\x00\x00k1\x00\x01rdsc",""), Put ["\x00\x00meta2\xff\xff",""), Put ["\x00\x00meta1\xff\xff","")}
E1105 00:35:09.238132 929 storage/store.go:1543 storage/store.go:1542: got committed raft command for 1 but have no range with that ID: {RangeID:1 OriginReplica:{NodeID:1 StoreID:1 ReplicaID:1} Cmd:EndTransaction ["\x00\x00\x00k1\x00\x01rdsc","")}
W1105 00:35:09.239251 929 multiraft/multiraft.go:1151 aborting configuration change: storage/store.go:1542: got committed raft command for 1 but have no range with that ID: {RangeID:1 OriginReplica:{NodeID:1 StoreID:1 ReplicaID:1} Cmd:EndTransaction ["\x00\x00\x00k1\x00\x01rdsc","")}
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x8 pc=0xdc73ff]
goroutine 6856 [running]:
github.com/coreos/etcd/raft.(*multiNode).run(0xc820303c80)
/go/src/github.com/coreos/etcd/raft/multinode.go:264 +0x174f
created by github.com/coreos/etcd/raft.StartMultiNode
/go/src/github.com/coreos/etcd/raft/multinode.go:71 +0x338
goroutine 1 [chan receive]:
testing.RunTests(0x1891350, 0x1ea96a0, 0xc9, 0xc9, 0x1568201)
--
/go/src/github.com/cockroachdb/cockroach/multiraft/storage.go:199 +0x1031
github.com/cockroachdb/cockroach/util/stop.(*Stopper).RunWorker.func1(0xc820302840, 0xc82050fbc0)
/go/src/github.com/cockroachdb/cockroach/util/stop/stopper.go:88 +0x60
created by github.com/cockroachdb/cockroach/util/stop.(*Stopper).RunWorker
/go/src/github.com/cockroachdb/cockroach/util/stop/stopper.go:89 +0x70
FAIL github.com/cockroachdb/cockroach/storage 19.019s
=== RUN TestBatchBasics
I1105 00:34:48.318960 923 storage/engine/rocksdb.go:132 closing in-memory rocksdb instance
--- PASS: TestBatchBasics (0.00s)
=== RUN TestBatchGet
I1105 00:34:48.323236 923 storage/engine/rocksdb.go:132 closing in-memory rocksdb instance
--- PASS: TestBatchGet (0.01s)
=== RUN TestBatchMerge
I1105 00:34:48.329965 923 storage/engine/rocksdb.go:132 closing in-memory rocksdb instance
--- PASS: TestBatchMerge (0.00s)
=== RUN TestBatchProto
Please assign, take a look and update the issue accordingly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).