跟SaveUikey关系不大,应该是max没有区分7/30的hash key造成写入es被统一对待了
This commit is contained in:
parent
ae694f58d6
commit
902a973717
2
maX.go
2
maX.go
@ -95,7 +95,7 @@ func Int64ToTime(ts int64) (time.Time, error) {
|
||||
}
|
||||
func (mx *MaX) PushToWriteLogChan(cr *Core) error {
|
||||
s := strconv.FormatFloat(float64(mx.Ts), 'f', 0, 64)
|
||||
did := mx.InstID + "|" + mx.Period + "|" + s
|
||||
did := "maX" + ToString(mx.Count) + mx.InstID + "|" + mx.Period + "|" + s
|
||||
logrus.Debug("did of max:", did)
|
||||
hs := HashString(did)
|
||||
mx.Id = hs
|
||||
|
Loading…
x
Reference in New Issue
Block a user