Skip to content

AMC fails to connect after panic #34

@leedavis81

Description

@leedavis81

I'm running a benchmark tool and using AMC to observe throughput, after a few seconds there the tool appears to error with the following logged:

amc-dev          | unknown time zone GMT
amc-dev          | panic: time: missing Location in call to Time.In
amc-dev          |
amc-dev          | goroutine 22 [running]:
amc-dev          | time.Time.In(...)
amc-dev          | 	/usr/local/go/src/time/time.go:1099
amc-dev          | github.com/aerospike-community/amc/models.(*Node).parseLatenciesInfo(0xc0002c81e0, 0xc00024821b, 0x9d, 0xa, 0xc0002a83e8)
amc-dev          | 	/home/zohar/go/src/github.com/aerospike-community/amc/models/node.go:1197 +0x1b27
amc-dev          | github.com/aerospike-community/amc/models.(*Node).update(0xc0002c81e0, 0x0, 0x0)
amc-dev          | 	/home/zohar/go/src/github.com/aerospike-community/amc/models/node.go:172 +0xb45
amc-dev          | github.com/aerospike-community/amc/models.(*Cluster).updateStats.func1(0xc0003c47f0, 0xc0002c81e0)
amc-dev          | 	/home/zohar/go/src/github.com/aerospike-community/amc/models/cluster.go:816 +0x53
amc-dev          | created by github.com/aerospike-community/amc/models.(*Cluster).updateStats
amc-dev          | 	/home/zohar/go/src/github.com/aerospike-community/amc/models/cluster.go:814 +0x10e

Using version amc:4.1.3

reverting to 4.0.27 resolved the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions