-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGNITE-23305 Get rid of client HybridTimestampTracker #4929
base: main
Are you sure you want to change the base?
Conversation
3123be1
to
d60b660
Compare
modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteImpl.java
Show resolved
Hide resolved
...ient-handler/src/main/java/org/apache/ignite/client/handler/ClientInboundMessageHandler.java
Show resolved
Hide resolved
...ient-handler/src/main/java/org/apache/ignite/client/handler/ClientInboundMessageHandler.java
Show resolved
Hide resolved
...sactions/src/main/java/org/apache/ignite/internal/tx/impl/IgniteAbstractTransactionImpl.java
Outdated
Show resolved
Hide resolved
...es/transactions/src/main/java/org/apache/ignite/internal/tx/ObservableTimestampProvider.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/ignite/client/handler/requests/sql/ClientSqlCursorCloseRequest.java
Outdated
Show resolved
Hide resolved
...client-handler/src/main/java/org/apache/ignite/client/handler/JdbcQueryEventHandlerImpl.java
Outdated
Show resolved
Hide resolved
@@ -35,14 +35,14 @@ | |||
public class IgniteTransactionsImpl implements IgniteTransactions { | |||
private final TxManager txManager; | |||
|
|||
private final HybridTimestampTracker observableTimestampTracker; | |||
private final HybridTimestampTrackerImpl observableTimestampTracker; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use interface instead of implementation. Besides, there are number of methods which are not used anymore. Let's clean up IgniteTransactionsImpl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this instance, the field can only be an instance of HybridTimestampTrackerImpl.
It is not worth overdoing with the use of interfaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are number of methods which are not used anymore
Good point.
@@ -362,7 +362,7 @@ public class TableManager implements IgniteTablesInternal, IgniteComponent { | |||
|
|||
private final LowWatermark lowWatermark; | |||
|
|||
private final HybridTimestampTracker observableTimestampTracker; | |||
private final HybridTimestampTrackerImpl observableTimestampTracker; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use interface here and below. Please check this kind of changes everywhere in your patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer to use a concrete implementation until the other is not needed.
https://issues.apache.org/jira/browse/IGNITE-23305