From 3f9224a81aa74614f4b9a41b9afc960a31972554 Mon Sep 17 00:00:00 2001 From: danila_mazour Date: Fri, 29 Mar 2024 10:37:08 +0100 Subject: [PATCH] fix(log): change the transaction isolation log warning (#2911) *Make the log point to a doc page rather than asking to call the support team Relates to [RUNTIME-1830](https://bonitasoft.atlassian.net/browse/RUNTIME-1830) --- .../org/bonitasoft/engine/search/AbstractSearchEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/search/AbstractSearchEntity.java b/bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/search/AbstractSearchEntity.java index 205fe4edc9f..d39f41706c1 100644 --- a/bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/search/AbstractSearchEntity.java +++ b/bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/search/AbstractSearchEntity.java @@ -123,11 +123,11 @@ private void detectPotentialTransactionIsolationIssue(List serverObjects, int if (count != doubleCheck) { log.error("Double checking the same query within the same transaction did NOT bring the same" + " result. You DO have a database transaction isolation problem. Please fix it ASAP. See" + - " https://documentation.bonitasoft.com/bonita/latest/database-configuration#_customize_rdbms_to_make_it_work_with_bonita" + " https://documentation.bonitasoft.com/bonita/latest/runtime/database-configuration#customize-rdbms" + " for details."); } else { log.warn("Within the same transaction, the Search count & page results are not consistent." + - " Please contact Bonitasoft Support team to fix potential issue with a database query."); + " Please see https://documentation.bonitasoft.com/bonita/latest/runtime/performance-troubleshooting#monitor-transaction-isolation"); } } }