Alexey Scherbakov created IGNITE-24962:
------------------------------------------

             Summary: Refacto public transaction configuration
                 Key: IGNITE-24962
                 URL: https://issues.apache.org/jira/browse/IGNITE-24962
             Project: Ignite
          Issue Type: Improvement
            Reporter: Alexey Scherbakov
            Assignee: Alexey Scherbakov
             Fix For: 3.1


Current txn configuration, described inĀ 
TransactionConfigurationSchema, has multiple flaws.
It exposes too much internal implementation details to a user without actual 
need, which greatly complicates txn protocol evolment in the future.
Some properties are misspelled, some are useless.
I propose to refactor it in the following way:
1. abandonedCheckTs - move to hidden properties.
2. readOnlyTimeout -> readOnlyTimeoutMillis
3. readWriteTimeout -> readWriteTimeoutMillis
4. attemptsObtainLock - remove and make hardcoded, later move to polymorphic 
configuration related to deadlock prevention.
5. txnResourceTtl -> move to hidden properties.
6. rpcTimeout - remove and make hardcoded
7. deadlockPreventionPolicy - remove and make hardcoded. later move to 
polymorphic configuration related to deadlock prevention.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to