Skip to content

Commit

Permalink
Disable sticky read by default (apache#4526)
Browse files Browse the repository at this point in the history
*Motivation*

2.3.x releases turn on StickyRead by default.
But StickyRead causes a lot of ArrayIndexOutOfBoundException.

See: apache/bookkeeper#1970 and apache#3715

*Modifications*

Disable sticy read by default until the bug is fixed and a new bookkeeper version is released.
  • Loading branch information
sijie authored and codelipenghui committed Jun 14, 2019
1 parent 2fb8cfe commit d99e95c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conf/broker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,9 @@ bookkeeperClientMinAvailableBookiesInIsolationGroups=
# Enable/disable having read operations for a ledger to be sticky to a single bookie.
# If this flag is enabled, the client will use one single bookie (by preference) to read
# all entries for a ledger.
bookkeeperEnableStickyReads=true
#
# Disable Sticy Read until {@link https://github.com/apache/bookkeeper/issues/1970} is fixed
bookkeeperEnableStickyReads=false

### --- Managed Ledger --- ###

Expand Down

0 comments on commit d99e95c

Please sign in to comment.