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

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

GitHub user eolivelli opened a pull request:

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

    BOOKKEEPER-912 Allow EnsemblePlacementPolicy to choose bookies using ledger 
custom data (multitenancy support)

    

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

    $ git pull https://github.com/eolivelli/bookkeeper BOOKKEEPER-912

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

    https://github.com/apache/bookkeeper/pull/68.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 #68
    
----
commit 7c0ab37fe6b90efd35ffc24d9cab06b91759e400
Author: eolivelli <[email protected]>
Date:   2016-10-31T08:52:26Z

    BOOKKEEPER-912 Allow EnsemblePlacementPolicy to choose bookies using ledger 
custom data (multitenancy support)

----


> Allow EnsemblePlacementPolicy to choose bookies using ledger custom data 
> (multitenancy support)
> -----------------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-912
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-912
>             Project: Bookkeeper
>          Issue Type: New Feature
>          Components: bookkeeper-client
>    Affects Versions: 4.4.0
>            Reporter: Enrico Olivelli
>            Assignee: Enrico Olivelli
>             Fix For: 4.5.0
>
>
> I would like to restrict the set of bookies to be used for a specific ledger. 
> Actually a single EnsemblePlacementPolicy is used for all the ledgers.
> This is because I want to create a ledger only using a dedicated set of 
> machines/bookies which are dedicated to the 'tenant' for which I'm creating 
> the ledger.
> We can add an optional (byte[]) parameter to asyncCreateLedger which in turn 
> is to be passed to the configured EnsemblePlacementPolicy which in turn will 
> be able to decide which are the most suitable bookies for the tenant.
> This parameter must be stored on ledger metadata, in order to be used in 
> replaceBookie. 



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

Reply via email to