propagate schema #110

Merged
merged 2 commits into from May 22, 2012

Projects

None yet

2 participants

@rzezeski
Contributor

After updating an index schema make sure to attempt to propagate it immediately to all nodes so that a stale schema is not used. In the future the schemas should probably be gossiped like the ring but for now this is a good first step.

This addresses issue #105

rzezeski added some commits May 21, 2012
@rzezeski rzezeski Remove trailing whitespace 16813be
@rzezeski rzezeski Clear schema cache after schema update
After updating the schema make sure to clear the cache on all nodes to
make sure the update propagates to all nodes immediately.  If one of
the remote calls fails then that node will still use the old schema so
it's not perfect.  In the future the schema should be gossiped in a
manner similar to the ring in order to get convergence.
90aeb8b
@seancribbs seancribbs was assigned May 22, 2012
@seancribbs
Contributor

👍

@rzezeski rzezeski merged commit 90aeb8b into master May 22, 2012
@rzezeski rzezeski was assigned May 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment