[ 
https://issues.apache.org/jira/browse/HDDS-12997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Zlenko updated HDDS-12997:
-------------------------------
    Labels: ignite-3  (was: )

> Replace long hybridtimestamp with proper HybridTimestamp in replication 
> messages
> --------------------------------------------------------------------------------
>
>                 Key: HDDS-12997
>                 URL: https://issues.apache.org/jira/browse/HDDS-12997
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Ivan Zlenko
>            Priority: Major
>              Labels: ignite-3
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to