UpdateAllCloudLands

From Array Suite Wiki

Jump to: navigation, search


The "updateAllCloudLands" is a parameter set in ArrayServer.cfg. To not be confused with "updateCloudLands" (details on UpdateCloudLands).


The diagram below describes the flow and what the "updateAllCloudLands" parameter does.

1. When the server is initialized, the "forceUpdate" parameter is set to True, and UpdateAllCloudLands method is called.

2. If timerElapsed condition is met, the "forceUpdate" parameter is set to False and UpdateAllCloudLands method is called again.

3. After the UpdateAllCloudLands method is called, the following sequence happens for each land:

3.1 IF forceUpdate = false AND land is already open' condition is met: Error Log:
 Land is in use; cancel update

3.2 IF forceUpdate = false AND land is already open' condition is not met:

3.2.1. The server LandVersion is retrieved

3.2.2. If Local and server land versions are not equal, land is updated

UpdateAllCloudLands.png