trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #541: Changes for converting commitId<->asc...
Date Mon, 13 Jun 2016 20:20:32 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/541#discussion_r66859740
  
    --- Diff: core/sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/regionserver/transactional/IdTm.java
---
    @@ -122,13 +124,67 @@ public void id(int timeout, IdTmId id) throws IdTmException {
                   LOG.error("native_id returned: " + err + " Throwing IdTmException");
                   throw new IdTmException("ferr=" + err);
                }
    +           if (id.val == 0) {
    +              LOG.error("native_id returned id: " + id.val + " err: " + err + ", Throwing
IdTmException");
    +              throw new IdTmException("ferr=" + err);
    --- End diff --
    
    So, here you would get "ferr=0" in the IdTmException. I suppose one could deduce that
the problem was that id.val was zero?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message