DSClock - Time Offset Error Warning in Pivotal GemFire
search cancel

DSClock - Time Offset Error Warning in Pivotal GemFire

book

Article ID: 294164

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

Symptoms:

You might see the following warning or something similar in the logs:

2016-06-26 03:03:08,721 WARN DSClock.setServerCacheTimeOffset] New cache time offset calculated is off more than 151 ms from earlier offset.

Environment


Cause

The clock synchronization service is basically used to create timestamps that are used in active-active WAN conflict resolution. It keeps track of offsets among the member nodes clock and if the offset is more than 100ms, it logs it. It does not initiate any background process.

Resolution

These are harmless warnings. You can ignore them. If you are using any alert mechanisms which are bothering you, you have two options:

1.You can suppress these log warnings using log4j configurations. See the article below:

https://community.pivotal.io/s/article/How-to-filter-GemFire-logs-in-80-and-later

2. Set GemFire property gemfire.disable-distributed-clock to true to disable the warnings.