Path: redb/redb.Core/Exceptions/RedbSchemaLockTimeoutException.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Core/Exceptions/RedbSchemaLockTimeoutException.cs ---- using System; namespace redb.Core.Exceptions; /// /// Start-up waited for the schema lock longer than : /// another process holds it, most likely while it upgrades the same database. Building the indexes of a large table /// takes minutes, so the usual remedies are a longer time-out or starting the nodes one after another. /// /// /// A distinct type: a hosting layer that restarts the process on failure can tell "another node is still upgrading" /// from a defect without parsing text. /// /// public class RedbSchemaLockTimeoutException : Exception { /// Provider name as the dialect reports it. public string Provider { get; } /// The lock as the server knows it. public string LockName { get; } /// How long start-up waited. public TimeSpan Waited { get; } public RedbSchemaLockTimeoutException(string provider, string lockName, TimeSpan waited) : base($"{provider}: the schema lock '{lockName}' was not released within {waited}. Another process holds it, " + "most likely upgrading this database (the indexes of a large table take minutes to build). Raise " + "RedbServiceConfiguration.SchemaLockTimeout, or start the nodes one after another.") { Provider = provider; LockName = lockName; Waited = waited; } }