[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.4-464-gbede0d94a0
Jim Brandt
jbrandt at bestpractical.com
Thu May 27 11:46:46 EDT 2021
The branch, 4.4-trunk has been updated
via bede0d94a08ce08897d39ef362279be99e5cb392 (commit)
via 5957dba5e163a6f1106bfc1d9b4b1e969f8655fb (commit)
via 2ec8e3c200415b9e8fd0689162187df7e889bbb3 (commit)
via af341c4168078223d8bbb135ee374df216d2f889 (commit)
via 3528ae2bf5df8e26ff1e204dd9e1a8157cfa6a88 (commit)
from d0dd9772af523147b8be0bf5f7c9262f32f18bc4 (commit)
Summary of changes:
docs/UPGRADING-4.4 | 11 +++++++++++
lib/RT/Ticket.pm | 5 ++++-
t/ticket/scrips_batch.t | 16 +++++++++++++++-
3 files changed, 30 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 5957dba5e163a6f1106bfc1d9b4b1e969f8655fb
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Thu May 27 10:56:36 2021 -0400
Document the Transaction Batch bug fix
diff --git a/docs/UPGRADING-4.4 b/docs/UPGRADING-4.4
index 9c712c57d6..f7a925d6bb 100644
--- a/docs/UPGRADING-4.4
+++ b/docs/UPGRADING-4.4
@@ -667,6 +667,17 @@ After you run this, you may have significantly reduced the number of records
in your CachedGroupMembers table, and may need to tell your database to
refresh indexes/statistics.
+=item * Run Transaction Batch last, even in nested updates
+
+When RT processes scrips, Batch mode scrips should always run last.
+Previously, with nested updates, inner updates would run batch before
+all outer updates were complete. One example of this is processing ticket
+updates, the Basics update calls an inner "atomic" transaction to update
+Owner, which would cause the unexpected batch run. This has been fixed
+so batch runs only once for the outermost updates. All transactions
+performed for that batch are available from the C<TransactionBatch> method
+as expected.
+
=back
=cut
commit bede0d94a08ce08897d39ef362279be99e5cb392
Merge: d0dd9772af 5957dba5e1
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Thu May 27 11:23:29 2021 -0400
Merge branch '4.4/not-apply-scrip-batch-in-nested-atomic' into 4.4-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list