Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

MR-Reids UI redis instance list is not sync with the redis stored in zookeeper after scheduler restarted #62

@zousheng

Description

@zousheng

Hi,

After restarting the scheduler, the mr-redis UI dashboard redis instance list is empty, but the redis instance is still running in mesos slave, and they are also stored in zookeeper. Api v1/STATUS will return empty at this time, after trying to run v1/STATUS/<redis_name> which exist in zookeeper, v1/STATUS can return the value, this is very odd.

eg:

$curl 10.47.70.59:5656/v1/STATUS
[]
$ curl 10.47.70.59:5656/v1/STATUS/zousheng_redis_01
{"Name":"zousheng_redis_01","Type":"S","Status":"RUNNING","Capacity":100,"Master":{"IP":"10.25.234.193","Port":"6382","MemoryCapacity":100,"MemoryUsed":814000,"Uptime":18522,"ClientsConnected":1,"LastSyncedToMaster":0},"Slaves":null}

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