You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/28 18:56:58 UTC

[jira] [Commented] (BOOKKEEPER-949) Allow entryLog creation even when bookie is in RO mode for compaction

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

ASF GitHub Bot commented on BOOKKEEPER-949:
-------------------------------------------

GitHub user reddycharan opened a pull request:

    https://github.com/apache/bookkeeper/pull/99

    BOOKKEEPER-949: Allow entryLog creation for compaction

    Allow entryLog creation even when bookie
    is in RO mode for compaction
    
    Signed-off-by: Venkateswararao Jujjuri (JV) <vj...@salesforce.com>
    Reviewed-by: Andrey Yegorov <ay...@salesforce.com>
    Reviewed-by: Charan Reddy Guttapalem <cg...@salesforce.com>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/reddycharan/bookkeeper entrylogcreationforcompaction

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/bookkeeper/pull/99.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #99
    
----
commit 9d53a79e66f316e16b6ead82c446bc57bd14131b
Author: JV <vj...@salesforce.com>
Date:   2016-09-27T06:52:43Z

    BOOKKEEPER-949: Allow entryLog creation for compaction
    
    Allow entryLog creation even when bookie
    is in RO mode for compaction
    
    Signed-off-by: Venkateswararao Jujjuri (JV) <vj...@salesforce.com>
    Reviewed-by: Andrey Yegorov <ay...@salesforce.com>
    Reviewed-by: Charan Reddy Guttapalem <cg...@salesforce.com>

----


> Allow entryLog creation even when bookie is in RO mode for compaction
> ---------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-949
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-949
>             Project: Bookkeeper
>          Issue Type: Sub-task
>          Components: bookkeeper-server
>    Affects Versions: 4.3.2
>            Reporter: Venkateswararao Jujjuri (JV)
>            Assignee: Venkateswararao Jujjuri (JV)
>            Priority: Critical
>
> When storage usage goes above threshold, there won't be any writable ledger dirs available and bookie turns RO. There can be multiple ways bookie can start compaction including isForceGCAllowWhenNoSpace enabled or by other means. When this happens the compaction process need to create a new entrylog to make progress on compaction. Creation of entrylog will fail because there are no writable ledger dirs.
> This is to allow entrylog creation if there is enough disk space even though used space is above threshold. Because after compaction space will stay the same or go below the threshold.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)