You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interface and and setting the engine property `hostnameProvider` to an instance of that class.
509
+
interface and and setting the engine property <code>hostnameProvider</code> to an instance of that class.
510
510
<br><br>
511
511
</td>
512
512
</tr>
@@ -551,6 +551,21 @@ The following is a list with the most commonly used process engine configuration
551
551
</p>
552
552
</td>
553
553
</tr>
554
+
<tr>
555
+
<td><code>skipIsolationLevelCheck</code></td>
556
+
<td>Boolean</td>
557
+
<td>
558
+
If the value of this flag is set to <code>false</code>, a <code>ProcessEngineException</code> will be thrown if the transaction isolation level set for the database is different from the recommended one.
559
+
If set to <code>true</code>, no exception will be thrown but a warning message will be logged.
560
+
<p>
561
+
The default value is <code>false</code>.
562
+
</p>
563
+
<p>
564
+
<strong>Note</strong>: The <a href="{{<ref "/user-guide/process-engine/database/database-configuration.md#isolation-level-configuration" >}}">recommended transaction isolation level</a> that ensures the correct behaviour of the engine is <code>READ_COMMITTED</code>.
@@ -1154,7 +1169,7 @@ The following is a list with the most commonly used process engine configuration
1154
1169
<td>String</td>
1155
1170
<td><a href="{{< ref "/user-guide/process-engine/history/history-cleanup.md">}}">History cleanup</a> batch window end time in the format <code>HH:mmZ</code> (Z is for RFC 822 time zone) or <code>HH:mm</code>. E.g., <code>23:00-0300</code> or <code>23:00</code>. In case <code>batchWindowEndTime</code> exceeds <code>batchWindowStartTime</code> it is considered
1156
1171
to be on the same date (e.g., cleanup runs each day between 20:00 and 23:00). Otherwise it is considered to be on the next calendar day (e.g., cleanup starts each
1157
-
day at 20:00 and finishes the next day at 01:00). Default value is `00:00`.</td>
1172
+
day at 20:00 and finishes the next day at 01:00). Default value is <code>00:00</code>.</td>
Copy file name to clipboardExpand all lines: content/user-guide/process-engine/database/database-configuration.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,3 +174,9 @@ Most database management systems provide four different isolation levels to be s
174
174
* SERIALIZABLE
175
175
176
176
The required isolation level to run Camunda with is **READ COMMITTED**, which may have a different name according to your database system. Setting the level to REPEATABLE READS is known to cause deadlocks, so one needs to be careful, when changing the isolation level.
177
+
178
+
When initializing the engine, a check is performed in order to determine if the transaction isolation level set for the database is different from the recommended one. If it is, an exception will be thrown.
179
+
180
+
This behaviour can be disabled by setting the `skipIsolationLevelCheck` flag to `true`. Doing this will prevent an exception from being thrown and a warning message will be logged instead.
181
+
182
+
[See here]({{< ref "/reference/deployment-descriptors/tags/process-engine.md#configuration-properties" >}}) for more details about this and other properties.
0 commit comments