You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/06/07 16:52:18 UTC

[jira] [Commented] (HBASE-18174) Implement Table#checkAndPut()

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

Ted Yu commented on HBASE-18174:
--------------------------------

For RequestConverter::SetRegionToMutateRequest(), when I declare first parameter as {{const std::unique_ptr<hbase::Request>}}, I got the following compilation error:
{code}
core/request-converter.cc:302:10: error: call to deleted constructor of 'std::unique_ptr<Request>'
  return std::move(
         ^~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.3.1/../../../../include/c++/5.3.1/bits/unique_ptr.h:356:7: note: 'unique_ptr' has been explicitly marked deleted here
      unique_ptr(const unique_ptr&) = delete;
      ^
1 error generated.
{code}

> Implement Table#checkAndPut()
> -----------------------------
>
>                 Key: HBASE-18174
>                 URL: https://issues.apache.org/jira/browse/HBASE-18174
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>         Attachments: 18174.v1.txt
>
>
> This task is to implement Table#checkAndPut() method



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)