Community Component 25.2
Community Component Help

# [FlushLock] Section

The `[FlushLock]` configuration section contains settings that control disk flushing and locking.

Flushing is the process of writing cached data to disk during indexing. It occurs periodically, and it is resource-intensive. It is important to prevent two flushes from occurring simultaneously.

If a lock file exists, a server writes information to it to notify other servers that it is flushing, and other servers wait until it is finished before writing to the lock file and performing their flushes.

You can configure a lock file by using the `FlushLockFile` configuration parameter in the `[Server]` section. However, OpenText does not recommend that you use a `FlushLockFile` if you are using networked storage.

For networked storage, you can configure the `[FlushLock]` and `[MyLockServer]` sections with the details of Redis servers. In this case, the Content component attempts to contact all the configured Redis servers to obtain a lock, and flushes only if it can obtain a lock from more than half of the Redis servers.

For failover purposes, OpenText recommends that you configure at least three Redis servers for locking. In this case, if one of the servers is unavailable, the Content component can still obtain more than half of the locks.

NOTE: Your lock servers must use Redis version 2.8 or later.

    [FlushLock]
    0=LockServer1
    1=LockServer2
    2=LockServer3

    [LockServer1]
    Host=12.34.56.78
    Port=6379

    [LockServer2]
    Host=12.34.56.89
    Port=6389

    [LockServer3]
    Host=12.34.56.12
    Port=6389

Related Topics

- [MyLockServer] Sections

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Community Component 25.2

Topic Title: [FlushLock] Section