-
Notifications
You must be signed in to change notification settings - Fork 212
Open
Labels
Description
v8 BatchGetComplex panics with batch policy (v7 is good).
policy *aerospike.BatchPolicy := aerospike.NewBatchPolicy()
policy.TotalTimeout = timeout // 8ms
policy.ConcurrentNodes = 0
policy.MaxRetries = 0
policy.AllowPartialResults = true
panic: runtime error: index out of range [12] with length 0
goroutine 3413 gp=0x4002d9d180 m=14 mp=0x4000d44808 [running]:
panic({0x10dffe0?, 0x4001d60a50?})
runtime/panic.go:811 +0x154 fp=0x400397cae0 sp=0x400397ca30 pc=0x87fd4
runtime.goPanicIndex(0xc, 0x0)
runtime/panic.go:115 +0x74 fp=0x400397cb20 sp=0x400397cae0 pc=0x4d984
github.com/aerospike/aerospike-client-go/v8.newBatchOperateNodeListIfcRetry(0x4001e58008, 0x400acdeb60, {0x0, 0x0, 0xbe?}, 0x1, 0x1, 0x4009b83aa0)
github.com/aerospike/aerospike-client-go/[email protected]/batch_node_list.go:214 +0x568 fp=0x400397cc30 sp=0x400397cb20 pc=0xb59848
github.com/aerospike/aerospike-client-go/v8.(*batchCommandOperate).generateBatchNodes(0x1?, 0x0?)
github.com/aerospike/aerospike-client-go/[email protected]/batch_command_operate.go:302 +0x40 fp=0x400397cc80 sp=0x400397cc30 pc=0xb54ff0
github.com/aerospike/aerospike-client-go/v8.(*batchCommand).retryBatch(0x400ace01a0, {0x1447fd0, 0x400ace01a0}, 0xc205634729e78aa1?, 0x1)
github.com/aerospike/aerospike-client-go/[email protected]/batch_command.go:77 +0x38 fp=0x400397cd00 sp=0x400397cc80 pc=0xb4ff08
github.com/aerospike/aerospike-client-go/v8.(*baseCommand).executeAt(0x400ace01a0, {0x1443320, 0x400ace01a0}, 0x400acdeb60, {0x0?, 0x11b86a2?, 0x1f17f80?}, 0x40018bfa40?)
github.com/aerospike/aerospike-client-go/[email protected]/command.go:3650 +0x1b98 fp=0x400397cea0 sp=0x400397cd00 pc=0xb82808
github.com/aerospike/aerospike-client-go/v8.(*baseCommand).execute(0x400ace01a0, {0x1443320, 0x400ace01a0})
github.com/aerospike/aerospike-client-go/[email protected]/command.go:3591 +0x68 fp=0x400397cf00 sp=0x400397cea0 pc=0xb80b88
github.com/aerospike/aerospike-client-go/v8.(*baseMultiCommand).execute(...)
github.com/aerospike/aerospike-client-go/[email protected]/multi_command.go:495
github.com/aerospike/aerospike-client-go/v8.(*batchIndexCommandGet).Execute(0x4002f4c708?)
github.com/aerospike/aerospike-client-go/[email protected]/batch_index_command_get.go:65 +0x4c fp=0x400397cf30 sp=0x400397cf00 pc=0xb56ffc
github.com/aerospike/aerospike-client-go/v8.(*werrGroup).execute.func1()
github.com/aerospike/aerospike-client-go/[email protected]/werrgroup.go:62 +0xb0 fp=0x400397cfd0 sp=0x400397cf30 pc=0xbd0460
runtime.goexit({})
runtime/asm_arm64.s:1223 +0x4 fp=0x400397cfd0 sp=0x400397cfd0 pc=0x905b4
created by github.com/aerospike/aerospike-client-go/v8.(*werrGroup).execute in goroutine 3133
github.com/aerospike/aerospike-client-go/[email protected]/werrgroup.go:55 +0x128