zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] maoling opened a new pull request #1057: ZOOKEEPER-3506:correct the javaDoc of the SessionTrackerImpl#initializeNextSessionId
Date Mon, 19 Aug 2019 10:22:11 GMT
maoling opened a new pull request #1057: ZOOKEEPER-3506:correct the javaDoc of the SessionTrackerImpl#initializeNextSessionId
URL: https://github.com/apache/zookeeper/pull/1057
 
 
   - A analyst of this method
   suppose that current timestamp:1566197268432(10110110010101000101000011011111111010000),
myid=1
   
   ```
    00000000 00000000 00000001 01101100 10101000 10100001 10111111 11010000
   <<24
    01101100 10101000 10100001 10111111 11010000 00000000 00000000 00000000
    >>>8
    00000000 01101100 10101000 10100001 10111111 11010000 00000000 00000000
   |
    00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000(id << 56)
   =
    00000001 01101100 10101000 10100001 10111111 11010000 00000000 00000000
   ```
   
   - more details in the [ZOOKEEPER-3506](https://issues.apache.org/jira/browse/ZOOKEEPER-3506)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message