Forum: Building VoltDB Applications

Post: Initiator time moved backwards from: 1286916120418 to 1286916119447

Initiator time moved backwards from: 1286916120418 to 1286916119447
shetty_ritesh
Oct 12, 2010
My server crashes all of a sudden. Dont know what the issue is. also i have compiled the code on windows 32 bit and deploy it on linux 64 bit. Dont know if that is causing this problem

Ritesh
_ __ ____ ____ ____
| | / /___ / / /_/ __ \/ __ )
| | / / __ \/ / __/ / / / __ |
| |/ / /_/ / / /_/ /_/ / /_/ /
|___/\____/_/\__/_____/_____/

Initialization Log Output:
--------------------------------
[main] INFO HOST - Build: 1.1.02 https://svn.voltdb.com/eng/branches/voltdb-1.1?revision=895
[main] INFO HOST - HTTP admin console listening on port 8080
[main] INFO HOST - Loading application catalog jarfile from /dnbusr1/dnbi/voltdblibs/dnbgp-subject-Model-Catalog-1.0-SNAPSHOT.jar
[main] INFO HOST - URL of deployment info: deployment.xml
[main] INFO HOST - Catalog leader: localhost hosts, sites 1, 1
[main] INFO HOST - Creating host manager for 1 hosts using leader localhost/127.0.0.1
[Thread-4] INFO HOST - Connecting to VoltDB cluster as the leader...
[Thread-4] INFO HOST - Maximum clock/network skew is 0 milliseconds (according to leader)
[main] INFO HOST - Attempting to load native VoltDB library voltdb-1.1.02. Expect to see a confirmation following this upon success. If none appears then you may need to compile VoltDB for your platform or you may be running a 32-bit JVM.
[main] INFO HOST - Successfully loaded native VoltDB library voltdb-1.1.02.
Creating Execution Engine on clusterIndex=1, site_id = 1...
INITIALIZING INITIATOR ID: 1, SITEID: 0
[main] INFO HOST - Starting the network
[main] INFO HOST - --------------------------------
Server completed initialization.

Initiator time moved backwards from: 1286916120418 to 1286916119447
java.lang.Thread.dumpThreads(Native Method)
java.lang.Thread.getAllStackTraces(Thread.java:1487)
org.voltdb.VoltDB.crashVoltDB(VoltDB.java:299)
org.voltdb.TransactionIdManager.getNextUniqueTransactionId(TransactionIdManager.java:127)
org.voltdb.dtxn.SimpleDtxnInitiator.tick(SimpleDtxnInitiator.java:194)
org.voltdb.ClientInterface.processPeriodicWork(ClientInterface.java:993)
org.voltdb.PeriodicWorkTimerThread.run(PeriodicWorkTimerThread.java:57)
VoltDB has encountered an unrecoverable error and is exiting.
The log may contain additional information.
re: Initiator Time Moved Backward
tcallaghan
Oct 13, 2010
Ritesh,

In your example, the system clock of the VoltDB server moved backward 1 second. In VoltDB v1.1 we would allow for the system clock to move backward up to 5 milliseconds, anything over 5 milliseconds halts the server. In VoltDB v1.2 we have changed this setting to allow for backward clock movement up to 3 seconds on a multi-node cluster (if you are running with a single node VoltDB allows time to move backward up to 1 week).

Remember, VoltDB requires that servers synchronize time with a local NTP server, more information is available in this forum posting.

-Tim