Skip to content

Conversation

@Lalant
Copy link
Contributor

@Lalant Lalant commented Dec 24, 2025

…bel.

Thank you for submitting the pull request.

To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:

The Review Checklist

  • Formal criteria: TC status, codestyle, mandatory documentation. Also make sure to complete the following:
    - There is a single JIRA ticket related to the pull request.
    - The web-link to the pull request is attached to the JIRA ticket.
    - The JIRA ticket has the Patch Available state.
    - The description of the JIRA ticket explains WHAT was made, WHY and HOW.
    - The pull request title is treated as the final commit message. The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • Design: new code conforms with the design principles of the components it is added to.
  • Patch quality: patch cannot be split into smaller pieces, its size must be reasonable.
  • Code quality: code is clean and readable, necessary developer documentation is added if needed.
  • Tests code quality: test set covers positive/negative scenarios, happy/edge cases. Tests are effective in terms of execution time and resources.

Notes

@Lalant Lalant force-pushed the ignite-27003-add-tx-labels-in-logs branch from 71234df to 5b9a0b9 Compare December 25, 2025 12:11
txId
).exceptionally(throwable -> {
LOG.warn("Failed to cleanup transaction [txId={}].", throwable, txId);
LOG.warn("Failed to cleanup transaction [{}].", throwable, TransactionLogUtils.formatTxInfo(txId, txManager));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's better to use static method imports

import org.apache.ignite.internal.failure.FailureProcessor;
import org.apache.ignite.internal.lang.IgniteBiTuple;
import org.apache.ignite.internal.lang.IgniteInternalException;
import org.apache.ignite.internal.logger.IgniteLogger;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also log messages mentioned in the ticket but not changed here:

  • Failed to acquire a lock
  • Transaction is already finished (changed only in InternalTableImpl)

This will require changes in HeapLockManager, ReadWriteTransactionImpl, InflightTransactionalOperationTracker, PartitionReplicaListener, maybe somewhere else.

@Lalant Lalant force-pushed the ignite-27003-add-tx-labels-in-logs branch 7 times, most recently from b785fcb to e92a3fa Compare January 5, 2026 10:10
@Lalant Lalant force-pushed the ignite-27003-add-tx-labels-in-logs branch 2 times, most recently from 6ec4272 to 8e4aa17 Compare January 5, 2026 11:29
HeapLockManager, ReadWriteTransactionImpl,PartitionReplicaListener.
Applied static imports.
@Lalant Lalant force-pushed the ignite-27003-add-tx-labels-in-logs branch from 8e4aa17 to d47a0fb Compare January 6, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants