Repository navigation
Closed
Description
It appears one of the tests can reproduce a hanging bug on resharding. Test was run on puzzler:
../test/scenarios/rebalance.py --sequence 32,++++++++++++++++++++++++++++++++,--------------------------------,++++++++++++++++----------------,++++++++++++++++----------------,++++++++++++++++++++++++++++++++++++++++++++++++,--------------------------------++++++++++++++++,---------------------------------------------------------------- --workload-before '../test/memcached_workloads/multi_serial_mix.py $HOST:$PORT --save values' --workload-after '../test/memcached_workloads/multi_serial_mix.py $HOST:$PORT --load values' --workload-between '../test/memcached_workloads/multi_serial_mix.py $HOST:$PORT --load values --save values'
Splitting at ['ag', 'o', 'zg', 'am', 'xg', 'ds', 'as', 'vs', 'km', 'xs', 'lg', 'i', 'ts', 'ls', 'fm', 'tm', 'pg', 'ns', 'pm', 'mm', 'bg', 'sm', 'ps', 'dg', 'jm', 'cg', 'hm', 'sg', 'nm', 'a', 'c', 'kg', 'ms', 'hg', 'ss', 'h', 'm', 'l', 'us', 'ks', 'p', 't', 'qg', 'y', 'x', 'ug', 'z', 'os'] and merging at []
Traceback (most recent call last):
File "../test/scenarios/rebalance.py", line 86, in <module>
cluster.check_and_stop()
File "/var/jenkins/workspace/test-runner/test/common/driver.py", line 77, in __exit__
self.close()
File "/var/jenkins/workspace/test-runner/test/common/driver.py", line 69, in close
iter(self.clusters).next().check_and_stop()
File "/var/jenkins/workspace/test-runner/test/common/driver.py", line 134, in check_and_stop
iter(self.processes).next().check_and_stop()
File "/var/jenkins/workspace/test-runner/test/common/driver.py", line 278, in check_and_stop
raise RuntimeError("Process failed to stop within %d seconds after SIGINT" % grace_period)
RuntimeError: Process failed to stop within 300 seconds after SIGINT
Activity
Tryneus commentedon Dec 7, 2012
So, I was able to reproduce this once, and it doesn't seem to be a true hang. The situation eventually resolved itself after a (very long) time. In the meantime, the rethinkdb process was doing a ton of disk operations, but I don't have any more information than that at the moment.
coffeemug commentedon Dec 11, 2012
Do we have a plan of attack for this for 1.3, or should we move this to next?
jdoliner commentedon Dec 11, 2012
@Tryneus how reproducible was this?
Tryneus commentedon Dec 11, 2012
You can probably reproduce this 1/3 of the time, maybe. I think it's easier to do on a machine with a HDD, rather than SSDs. You'll probably want to modify the code in test/common/driver.py so it waits after failing to SIGINT rather than killing the process after 5 minutes.
jdoliner commentedon Dec 12, 2012
I don't think this is actually a bug. I observed this test performing 414 concurrent backfills which on a rotational drive is expected to take a really long time. If anything this is a non critical performance issue. But honestly I'm not sure how much faster we can expect to make this. Doing 414 concurrent backfills is going to take a while on a rotational drive since it's basically just random disk reads and writes.
jdoliner commentedon Dec 12, 2012
Alright so apparently part of the problem is that this isn't interruptible... I'm not managing to reproduce that for me it just takes a while trying to satisfy the blueprint fails and everything shuts down cleanly.
coffeemug commentedon Dec 17, 2012
Moving to next, as this clearly isn't making it into 1.3.
coffeemug commentedon Jan 22, 2013
This no longer appears 1.3 worthy. Assigning to @AtnNn and moving to backlog -- we'll get to this soon.
jdoliner commentedon Jan 22, 2013
Let's just close this. We don't really hang here we just take a long time
to complete when you try to do 400 concurrent back fills on rotational
drives. But that's really just a hardware limitation. I investigated this
for a while and found nothing I deemed a bug here.
On Monday, January 21, 2013, coffeemug wrote:
coffeemug commentedon Jan 22, 2013
regnat populus
chore(board): tick rethinkdb#122 — collision steward record (sibling r…