[
https://issues.apache.org/jira/browse/HBASE-18122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Yang updated HBASE-18122:
------------------------------
Description:
Now the scanner id is a long number from 1 to max in a region server. Each new
scanner will have a scanner id.
If a client has a scanner whose id is x, when the RS restart and the scanner id
is also incremented to x or a little larger, there will be a scanner id
collision.
So the scanner id should now be same during each time the RS restart. We can
add the start timestamp as the highest several bits in scanner id uint64.
And because HBASE-18121 is not easy to fix and there are many clients with old
version. We can also encode server name into the scanner id.
was:
Now the scanner id is a long number from 1 to max in a region server. Each new
scanner will have a scanner id.
If a client has a scanner whose id is x, when the RS restart and the scanner id
is also incremented to x or a little larger, there will be a scanner id
collision.
So the scanner id should now be same during each time the RS restart. We can
add the start timestamp as the highest several bits in scanner id uint64.
> Scanner id should include RS start timestamp
> --------------------------------------------
>
> Key: HBASE-18122
> URL: https://issues.apache.org/jira/browse/HBASE-18122
> Project: HBase
> Issue Type: Bug
> Reporter: Phil Yang
> Assignee: Phil Yang
>
> Now the scanner id is a long number from 1 to max in a region server. Each
> new scanner will have a scanner id.
> If a client has a scanner whose id is x, when the RS restart and the scanner
> id is also incremented to x or a little larger, there will be a scanner id
> collision.
> So the scanner id should now be same during each time the RS restart. We can
> add the start timestamp as the highest several bits in scanner id uint64.
> And because HBASE-18121 is not easy to fix and there are many clients with
> old version. We can also encode server name into the scanner id.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)