Skip to content

发现一个结果不统一的问题。  #1

@ablegao

Description

@ablegao

func Test_hash(t *testing.T) {
hkey := strings.Split("192.168.1.19:6379,192.168.1.24:6379,192.168.1.25:6379,192.168.1.26:6379,192.168.1.27:6379", ",")
c := New(hkey)
//下面两个字符串在nginx 下面反馈一致才对,但奇怪是go版本的结果不一样, 不 知道什么情况。辛苦帮忙看看
t.Log(c.Get("http%3A%2F%2Fs.dianru.com%2Fs%2F6tmt88xqggrm"))
t.Log(c.Get("http%3A%2F%2Fad.market.cn.sy.53mayi.com%2Fapp%2Finput%2F%3Faid%3D18"))
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions