What is the source/origin/meaning of [DatabaseManager] logs?

These logs seem to occur every hour

1033 2025-04-03T14:00:08.413 [DatabaseManager] INFO - database's write operations successfully unlocked ()
1032 2025-04-03T14:00:05.909 [DatabaseManager] INFO - database's write operations successfully locked ()
1031 2025-04-03T14:00:05.909 [DatabaseManager] INFO - database's write operations successfully unlocked ()
1030 2025-04-03T14:00:05.909 [DatabaseManager] INFO - database's write operations successfully locked ()
..
944 2025-04-03T13:00:07.244 [DatabaseManager] INFO - database's write operations successfully unlocked ()
943 2025-04-03T13:00:06.441 [DatabaseManager] INFO - database's write operations successfully locked ()
942 2025-04-03T13:00:06.341 [DatabaseManager] INFO - database's write operations successfully unlocked ()
941 2025-04-03T13:00:06.341 [DatabaseManager] INFO - database's write operations successfully locked ()
...
1374 2025-04-03T12:00:09.488 [DatabaseManager] INFO - database's write operations successfully unlocked ()
1373 2025-04-03T12:00:07.082 [DatabaseManager] INFO - database's write operations successfully locked ()
1372 2025-04-03T12:00:06.882 [DatabaseManager] INFO - database's write operations successfully unlocked ()
1371 2025-04-03T12:00:06.882 [DatabaseManager] INFO - database's write operations successfully locked ()

944 2025-04-03T13:00:07.244 [DatabaseManager] INFO - database's write operations successfully unlocked ()
943 2025-04-03T13:00:06.441 [DatabaseManager] INFO - database's write operations successfully locked ()
942 2025-04-03T13:00:06.341 [DatabaseManager] INFO - database's write operations successfully unlocked ()
941 2025-04-03T13:00:06.341 [DatabaseManager] INFO - database's write operations successfully locked ()


1374 2025-04-03T12:00:09.488 [DatabaseManager] INFO - database's write operations successfully unlocked ()
1373 2025-04-03T12:00:07.082 [DatabaseManager] INFO - database's write operations successfully locked ()
1372 2025-04-03T12:00:06.882 [DatabaseManager] INFO - database's write operations successfully unlocked ()
1371 2025-04-03T12:00:06.882 [DatabaseManager] INFO - database's write operations successfully locked ()

Hey @laviregen,

do you often use .lock and .unlock ?

Hello Jean,

In my opinion, the two commands “ds.lock()” and “ds.unlock()” can be triggered by a WebAdmin user when they initiate a compaction or click the “Lock/Unlock” button in the Maintenance tab. They can also be executed by the infrastructure during a database backup, by calling the WebAdmin API, which performs these actions.

Since the WebAdmin is not accessible to clients, the most likely scenario would be the second option.

1 Like

Hello Ayoub,

We don’t currently use the .lock() and .unlock() commands in our code.

Regarding the logs:

> 1033 2025-04-03T14:00:08.413 [DatabaseManager] INFO - database's write operations successfully unlocked ()
> 1032 2025-04-03T14:00:05.909 [DatabaseManager] INFO - database's write operations successfully locked ()
...

The problem was repaired, and the system has been steady since then.