Salvatore Sanfilippo

Results 156 comments of Salvatore Sanfilippo

@lewisxhe indeed, it makes completely sense. But in my case all I need is to power-up the device, talk with the LoRa chip with a driver I'm porting from another...

Sure @lewisxhe, my goal is to support the T-watch S3 here: https://github.com/antirez/freakwan, so everything will be public, but I'll also create a stand-alone repository showing how to power-up the device...

@lewisxhe got some initial thing working: https://github.com/antirez/t-watch-s3-micropython Not much, but the AXP2101 is configured properly (now it charges the battery and all), and the display works with the provided library....

Hello @MOON-CLJ, technically speaking, this is correct, that is, multiple sentinels may failover the same master at the same time _but with different epochs_ so that only one configuration will...

Hello, I think I identified a problem with this patch that violates the liveness property of the Sentinel algorithm. Imagine to have Sentinels A1, A2, A2, B1, B2, B3, C1,...

Thanks @MOON-CLJ, good feedback! I'll study the problem more and check if I can reproduce locally to find what could be the best solution... Taking this open for now. Thanks...

Hello @MOON-CLJ , I think I found what the issue you experienced actually was. The function that resets the master state, which is called upon the `switch-master` event, actually resets...

Hello @MOON-CLJ, thanks for your reply. It is actually possible to get a new epoch without the master switch, because of an hello message about a different master (or even...

p.s. making this configurable is also an option.

@MOON-CLJ point of view totally makes sense, thanks. To take a guaranteed lock is possible but has its own issues, like the Sentinel holding the lock to crash. So basically...