nickva commented on issue #1517: Automate incrementally growing a cluster URL: https://github.com/apache/couchdb/issues/1517#issuecomment-525063581 @wohali I am thinking probably not. On the surface it would appear it's just the reverse of splitting, but there are some corner cases to handle that make things a bit more complicated such as: 1) What happens to update sequences when we merge shards. 2) Since we only split by 2 now, we have a more constrained set of possible shard overlap configurations, such that shards either completely enclose other shards' ranges, or are completely enclosed by other shards' ranges. With merges and splits we'd have arbitrary overlaps. Even though I think our current logic will handle it , it would require extra care to test and all the new corner cases 3) Would need to do some job managements updates, say, to avoid having jobs that both split and merge a shard at the same time. This is not difficult, but it would just be extra work and testing. All in all, it is not impossible but it's also probably too much work for 3.x. If FDB wasn't in play, it we'd likely head that way, and even add automatic rebalancing, but now, kind of feels less motivating to continue on that path.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services