Ivan Zlenko created IGNITE-25336:
------------------------------------

             Summary: Replace long hybridtimestamp with proper HybridTimestamp 
in replication messages
                 Key: IGNITE-25336
                 URL: https://issues.apache.org/jira/browse/IGNITE-25336
             Project: Ignite
          Issue Type: Improvement
            Reporter: Ivan Zlenko


We have quite a few place where we pass HybridTimestamp as long value instead 
of using HybridTimestamp itself. 
It should be mitigated. 
Example of such code: 

{code:java}
public interface PrimaryReplicaChangeCommand extends WriteCommand {
    /** Lease start time, hybrid timestamp as long, see {@link 
HybridTimestamp#longValue()}. */
    long leaseStartTime();

    /** Primary replica node id. */
    UUID primaryReplicaNodeId();

    /** Primary replica node name. */
    String primaryReplicaNodeName();
}
{code}




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

Reply via email to