[
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) <[email protected]>
Reviewed-by: Andrey Yegorov <[email protected]>
Reviewed-by: Charan Reddy Guttapalem <[email protected]>
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 <[email protected]>
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) <[email protected]>
Reviewed-by: Andrey Yegorov <[email protected]>
Reviewed-by: Charan Reddy Guttapalem <[email protected]>
----
> 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)