Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic announcements never expire #24

Open
johngmyers opened this issue Dec 12, 2013 · 1 comment
Open

Dynamic announcements never expire #24

johngmyers opened this issue Dec 12, 2013 · 1 comment

Comments

@johngmyers
Copy link

If there are two or more discovery servers in a cluster, then dynamic announcements never expire.

Fix in @proofpoint/discovery

@lzeiming
Copy link

I encounter same issue. I watched the param of io.airlift.discovery.store.StoreResource#setMultipleEntries and found maxAgeInMs is always null. The deserialization of jackson-smile might be problemtic

[arthas@28453]$ watch io.airlift.discovery.store.StoreResource setMultipleEntries "{params[1]}" -x 3
Press Q or Ctrl+C to abort.
Affect(class count: 1 , method count: 1) cost in 1099 ms, listenerId: 24
method=io.airlift.discovery.store.StoreResource.setMultipleEntries location=AtExit
ts=2022-04-18 19:01:12; [cost=0.062466ms] result=@ArrayList[
    @ArrayList[
        @Entry[
            key=@byte[][isEmpty=false;size=7],
            value=@byte[][isEmpty=false;size=709],
            version=@Version[io.airlift.discovery.store.Version@3c556ae9],
            timestamp=@Long[1650279672681],
            maxAgeInMs=null,
        ],
    ],
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants