SpookyJumpyBeans commented on PR #8898: URL: https://github.com/apache/hbase/pull/8898#issuecomment-7178940830
Thanks! Pushed it. If the stored active time is ahead of the new master's clock by more than `hbase.master.maxclockskew` (30s by default), startup now fails with a `ClockOutOfSyncException` that says the masters' clocks are out of sync, and nothing is stored. Below that it uses the stored time plus one and logs a warning, as before. I moved the 30s default into `ServerManager.DEFAULT_MAX_CLOCK_SKEW_MS` so both checks use the same value. One consequence worth knowing: if a master's clock was ever far ahead, the time it stored stays ahead, so later masters with correct clocks will refuse to start until the wall clock passes it. That seems in line with exposing the problem, but let me know if you'd want a way around it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
