redbeat icon indicating copy to clipboard operation
redbeat copied to clipboard

using uuid-$hostname-$pid replace default uuid as lock token.

Open pengwk opened this issue 2 years ago • 6 comments

We run multiple redbeat instances for high availability, and sometimes we find that the service is not behaving as expected, we want to know which server is running, but it's hard to know right now, so we want to use uuid-$hostname-$pid as a lock token to aid troubleshooting.

pengwk avatar Apr 26 '22 14:04 pengwk

@sibson Do you have time to look at this pull request? We'd like to use this feature as soon as possible. Many thanks!

pengwk avatar May 04 '22 14:05 pengwk

This seems like a good idea. If I'm understanding it correctly it means we're sticking machine identifying information into redis. I don't see any obvious problems with that but thought I'd mention in case someone sees an issue with doing so. It looks like there are some lint errors, if you clean those up and no one objects I'll merge.

sibson avatar May 05 '22 02:05 sibson

@sibson Lint errors already fixed, pls review. Many thanks!

pengwk avatar May 05 '22 05:05 pengwk

Can we merge now? @sibson

pengwk avatar May 10 '22 13:05 pengwk

Is there a specific waiting time? We would like to know approximately when we can merge and release a new version

Many Thanks!

pengwk avatar May 23 '22 11:05 pengwk

A month has passed and it looks like no one has voiced any objections, can we merge now? @sibson

Many Thanks!

pengwk avatar Jun 07 '22 16:06 pengwk