Github user sijie commented on the issue:
https://github.com/apache/bookkeeper/pull/189
>> re 1.
I am not aware if they are users configuring in this way. but I am not sure
if this is the case for flagging as error. because in current implementation,
such configuration doesn't have any performance impacts. if this flag is
necessarily for multiple entry log files, I would defer adding this flag when
reviewing the multiple-active-entry-log-files change. because it is not very
clear about the problem and benefits.
>> re 2>
this sounds like a policy problem - how to choose the directory to place
the entry log files to achieve balance between disk partitions? currently
bookie asks the ledgerdirs manager for a ledger directory. the ledger disks can
do a better job for balancing the placement of entry log files.
>> re 3.
if we have a policy abstraction in LedgerDirsManager, we can have a better
policy on how to pick up the entry log files for write. in this way, we can
balance the disk usage and I/O usage.
I am seeing a trend of adding more and more configuration settings into the
bookies. some are strongly required. some doesn't seem to be really needed. In
this pull request, the configuration doesn't seem to be the right solution that
address the problems that you guys are listing. it seems to be me a flag to
mask the underneath problems and this flag will most likely be used anymore
when we have the correct solution in place.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---