-
Notifications
You must be signed in to change notification settings - Fork 183
Unit test enhancements #170
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
Conversation
|
er... working on an update to merge cleanly with master. |
|
@evanmcc Once that merges cleanly, I'll give it a run. My first glance says that yes, this is a good solution. |
|
An important issue with this is that it does make a large number of buckets with altered properties, which can eventually make the ring on your test cluster sad. It used to break it right away, but I've reached the limit of the stuff that I can do to make it easier, I think. Not something to run on a cluster that you care about, I suppose. |
|
Had thought about that. How do we use it, just call a HTTP DELETE on the On Fri, Nov 23, 2012 at 11:48 AM, Sean Cribbs [email protected]:
|
|
@evanmcc yea but its only supported in the newer api, however, so |
|
was about to fix build_rest_path to use the v2 path spec, but then realized that your refactor of the transports likely includes it, @seancribbs . This can wait on that to land to get merged. |
|
Will get work on the merge today. |
|
running the tests (skipping pool tests) against a single 1.3rc2 node running the memory backend. loop 30 times pre ring-clearing commit:
post ring-clearing commit:
Going to update with some changes to use fewer buckets per run. |
|
here lies evan, trolled by a mochiglobal EDIT: or maybe by his own tyops |
|
OK, this should be all done now. Ring size doesn't explode anymore. There are still a large number of buckets being created, and that's what's causing most of the time growth, but it's much slower now. Still not a great idea on a production cluster, but something that for testing we can live with now, I think. |
|
I think I did that just to test and then left it in. I think that I'll move it back to retries to keep the exception. I realize that it's a corner case of a corner case, but what if the HTTP connection isn't set up/accessible? |
|
OK, that should, at long last, be it. |
|
Awesome work, @evanmcc, 👍 to merge. |
This PR provides:
This should fix issue #164