New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize routing: Send updates to shard leader #45

Merged
merged 1 commit into from Jul 15, 2018

Conversation

Projects
None yet
1 participant
@magro
Member

magro commented Jul 15, 2018

Update requests (such as adding docs) are now sent to the shard leader.

This adds the isLeader property to the SolrServer, which might
require some code changes if it's used by client code, such as filtering
fast servers in FastestServerLB. Since this is expected to be rarely
used so that the major version must not necessarily increased.

Optimize routing: Send updates to leader
Update requests (such as adding docs) are now sent to the shard leader.

This adds the `isLeader` property to the `SolrServer`, which might
require some code changes if it's used by client code, such as filtering
fast servers in `FastestServerLB`. Since this is expected to be rarely
used the major version must not necessarily increased.

@magro magro force-pushed the send-updates-to-leader branch from 69e5ab0 to f3927dc Jul 15, 2018

@magro magro merged commit 4786607 into master Jul 15, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment