You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Venkateswararao Jujjuri (JIRA)" <ji...@apache.org> on 2015/09/25 03:00:07 UTC
[jira] [Commented] (BOOKKEEPER-873) Enhance CreatedLedger API to
accept ledgerId as input
[ https://issues.apache.org/jira/browse/BOOKKEEPER-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907320#comment-14907320 ]
Venkateswararao Jujjuri commented on BOOKKEEPER-873:
----------------------------------------------------
I have created a patch but somehow it is misbehaving. Any help will be greatly appreciated.
https://github.com/jvrao/bookkeeper/commits/LedgerId
https://github.com/jvrao/bookkeeper/commit/c1b7379301d791eb1c8f4bafd67b25d698a82ae3
EntriId I am passing in is a randomly generated long.
I am running into issues: (Running tests with local bookie)
Occasionally it says:
2015-09-24 17:39:15,137 - INFO - [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got user-level KeeperException when processing sessionid:0x15001ede239000b type:setData cxid:0x1fab zxid:0x1a63 txntype:-1 reqpath:n/a Error Path:/ledgers/L7593470793409065984 Error:KeeperErrorCode = BadVersion for /ledgers/L7593470793409065984
Sometimes I can't find the entry I wrote.
Same tests work great without the mentioned patch (top one in my repo)
Please let me know if I am missing anything in the proposed patch.
> Enhance CreatedLedger API to accept ledgerId as input
> -----------------------------------------------------
>
> Key: BOOKKEEPER-873
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-873
> Project: Bookkeeper
> Issue Type: Sub-task
> Components: bookkeeper-client
> Affects Versions: 4.3.1
> Reporter: Venkateswararao Jujjuri
> Assignee: Venkateswararao Jujjuri
> Fix For: 4.4.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)