gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cloudysunny14 <...@git.apache.org>
Subject [GitHub] gora issue #95: Fixed issue GORA-443
Date Wed, 22 Feb 2017 14:38:41 GMT
Github user cloudysunny14 commented on the issue:

    https://github.com/apache/gora/pull/95
  
    Thank you for comments.
    
    I think this is because of the reason as follows:
    
    First, BufferedMutation#flush is processed synchronously, 
    and a batch request (MultiRequest) is created from a buffered mutations.
    
    Then, RegionServer processes a MultiRequest as a minibatch(HRegion#doMiniBatchMutation)
that updates the timestamp of each cell to currentTime if Mutation has HConstants.LATEST_TIMESTAMP(by
default).
    This operation apply all mutations in minibatch, therefore all cells has same timestamp.
    
    Since the HBaseStore#put create the Delete and Put as the MultiRequest, Puts are invisible.
    
    See Also:
    https://issues.apache.org/jira/browse/HBASE-2256
    https://hbase.apache.org/book.html#version.delete
    
    I'm sorry for my poor english :(
    
    I made this fix as a possible solution. (HACK)
    https://github.com/apache/gora/pull/95/commits/b0cd1950c978181890213e1c85e437e44421405e
    
    However, does not pass testDeleteByQueryFields yet.
    This is known issue GORA-472. I will create(reopen) the pull request for GORA-472 later.
    and I am trying to run all test..
    
    Kiyonari Harigae



---
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