Skip to content
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

Channel Index - Feed Partitioning #922

Closed
5 tasks
adamcfraser opened this issue Jun 15, 2015 · 2 comments
Closed
5 tasks

Channel Index - Feed Partitioning #922

adamcfraser opened this issue Jun 15, 2015 · 2 comments
Assignees
Milestone

Comments

@adamcfraser
Copy link
Collaborator

Milestone 1 work for Feed Partitioning.

  • Understand cbdatastore
  • Nail down requirements, check out cbmirror
  • Partition feed based on partition definition in config file
  • #969 Handle DCP stream end/reconnection
  • Buffer incoming feed to minimize rollback risk -- we need to support rollback. As long as we're rolling back to a point that hasn't been indexed yet, it's safe since clients haven't seen it. Assuming the rollback comes faster than our indexing.

Design notes here: https://github.com/couchbase/sync_gateway/blob/feature/distributed_index/docs/design/channel_index/feed_management.md

@tleyden
Copy link
Contributor

tleyden commented Jul 31, 2015

Current status:

@tleyden
Copy link
Contributor

tleyden commented Aug 6, 2015

Today we got a good "test run" on the bare metal cluster and verified correct partitioning of the dcp feed.

What's remaining:

  • Doesn’t work when a bucket password is set
  • Rename DCPCBGT -> DCP_SHARD
  • Use uuid for bind_http and remove from config
  • Check for invalid configurations -- if using a DistributedIndexWriter, then it MUST be configured to use DCPSHARD or else it should throw an error
  • Not setting the vbucket when the TapEvent created in SyncGatewayPIndex.DataUpdate/DataDelete
  • Start DCP from a different starting point -- load stable sequence from the bucket and use that as a starting point
  • Try to test with IndexWriter distributed index
  • Clean up code for PR submission (rebase, squash again)

adamcfraser added a commit that referenced this issue Aug 14, 2015
…ue_922

Integrate CBGT for DCP sharding - issue #922
@tleyden tleyden closed this as completed Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants