[ 
https://issues.apache.org/jira/browse/HBASE-10358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15273473#comment-15273473
 ] 

Enis Soztutar commented on HBASE-10358:
---------------------------------------

We are doing array here, because we want to pass by reference, rather than 
pass-by-value? Seems weird. Is there a cleaner way? 
{code}
+        stale_argu = Array.new(1, false)
+        stale = false
+
         scan = table._hash_to_scan(args)
         #actually do the scanning
-        count = table._scan_internal(args, scan) do |row, cells|
+        count = table._scan_internal(args, scan, stale_argu) do |row, cells|
{code}

> Shell changes for setting consistency per request
> -------------------------------------------------
>
>                 Key: HBASE-10358
>                 URL: https://issues.apache.org/jira/browse/HBASE-10358
>             Project: HBase
>          Issue Type: New Feature
>          Components: shell
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 2.0.0
>
>         Attachments: Screen Shot 2016-04-21 at 3.09.52 PM.png, Screen Shot 
> 2016-05-05 at 10.38.27 AM.png, shell.patch
>
>
> We can add shell support to set consistency per request. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to