ConfigSync uses a GitHub repository to store the configuration files. It pulls the latest changes from the repository every 30 seconds by default, and applies them to the Fusion cluster. You can configure the polling interval; see the ConfigSync configuration reference. At the same time, it listens to the changes in the Fusion cluster and pushes them to the GitHub repository. Fusion cluster changes have a higher priority than GitHub repository changes in case of conflicts.Documentation Index
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
Latest synced commit
The latest synced commit is the commit that was last applied by ConfigSync. ConfigSync tracks it aslatest-synced-commit whose value is the Git commit hash.
It uses this value to determine which commits to apply.
ConfigSync applies all commits that are newer than latest-synced-commit and sets latest-synced-commit to the latest commit.
For example, imagine the following Git commit history:

git pull and finds a new commit, it applies it and sets latest-synced-commit to the latest commit.

latest-synced-commit and latest-git-commit and applies all commits within that range.
Then it sets latest-synced-commit to latest-git-commit.

latest-synced-commit manually:
latest-synced-commit pointer to 1111111.

latest-synced-commit and set latest-synced-commit to the latest commit.
Locked commit
ConfigSync can lock the configuration to a specific commit. This means that ConfigSync :- Does not apply any commits that are newer than the locked commit
- Does not update changes from the Fusion cluster to the GitHub repository

locked-commit using the API:
If
locked-commit precedes latest-synced-commit, ConfigSync reverts all changes to the locked-commit and sets latest-synced-commit to locked-commit.
locked-commit are ignored, as well as changes from the Fusion cluster.

locked-commit, ConfigSync commits all Fusion cluster changes and pulls the latest changes from the GitHub repository:
git-changes and fusion-changes where fusion-changes has a higher priority in case of conflicts.
