Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-912

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.4.0
    • 4.5.0
    • bookkeeper-client
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              eolivelli Enrico Olivelli
              eolivelli Enrico Olivelli
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: