distributedlog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sijie <...@git.apache.org>
Subject [GitHub] incubator-distributedlog issue #15: DL-37: add an offset sequencer for gener...
Date Wed, 09 Nov 2016 07:27:41 GMT
Github user sijie commented on the issue:

    https://github.com/apache/incubator-distributedlog/pull/15
  
    I am not sure if we should support this. I had the same feeling with @leighst - I don't
think we can find a reliable to use transaction id for offset.
    
    I am actually thinking in a different solution - we already have the length field for
each entry appended to bookkeeper ledger. we probably can just expose this length field to
the log segment metadata (like what we did for sequence id). so those length field can be
used as the offset for batch of records (aka entries). does that meet your requirement, @khurrumnasimm
? /cc @leighst 


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