You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Feng Honghua (JIRA)" <ji...@apache.org> on 2014/03/07 09:51:42 UTC

[jira] [Updated] (HBASE-10663) Some code cleanup of class Leases and ScannerListener.leaseExpired

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

Feng Honghua updated HBASE-10663:
---------------------------------

    Summary: Some code cleanup of class Leases and ScannerListener.leaseExpired  (was: Refactor/cleanup of class Leases and ScannerListener.leaseExpired)

Would anybody please help review this? Just some safe code cleanup. Thanks.

> Some code cleanup of class Leases and ScannerListener.leaseExpired
> ------------------------------------------------------------------
>
>                 Key: HBASE-10663
>                 URL: https://issues.apache.org/jira/browse/HBASE-10663
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Feng Honghua
>            Assignee: Feng Honghua
>            Priority: Minor
>         Attachments: HBASE-10663-trunk_v1.patch
>
>
> Some cleanup of Leases and ScannerListener.leaseExpired:
> # Reject renewLease if stopRequested (same as addLease, stopRequested means Leases is asked to stop and is waiting for all remained leases to expire)
> # Raise log level from info to warn for case that no related region scanner found when a lease expires (should it be an error?)
> # Replace System.currentTimeMillis() with EnvironmentEdgeManager.currentTimeMillis()
> # Correct some wrong comments and remove some irrelevant comments(Queue rather than Map is used for leases before?)



--
This message was sent by Atlassian JIRA
(v6.2#6252)