Skip to content

Hang in nightly tests, rebalance.py #122

Closed

Description

@Tryneus

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

  1. ghost assigned on Nov 29, 2012
  2. Tryneus commented on Dec 7, 2012

    @Tryneus
    MemberAuthor

    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.

  3. coffeemug commented on Dec 11, 2012

    @coffeemug
    Contributor

    Do we have a plan of attack for this for 1.3, or should we move this to next?

  4. jdoliner commented on Dec 11, 2012

    @jdoliner
    Contributor

    @Tryneus how reproducible was this?

  5. Tryneus commented on Dec 11, 2012

    @Tryneus
    MemberAuthor

    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.

  6. jdoliner commented on Dec 12, 2012

    @jdoliner
    Contributor

    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.

  7. jdoliner commented on Dec 12, 2012

    @jdoliner
    Contributor

    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.

  8. coffeemug commented on Dec 17, 2012

    @coffeemug
    Contributor

    Moving to next, as this clearly isn't making it into 1.3.

  9. coffeemug commented on Jan 22, 2013

    @coffeemug
    Contributor

    This no longer appears 1.3 worthy. Assigning to @AtnNn and moving to backlog -- we'll get to this soon.

  10. ghost assigned on Jan 22, 2013
  11. jdoliner commented on Jan 22, 2013

    @jdoliner
    Contributor

    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:

    This no longer appears 1.3 worthy. Assigning to @atnnnhttps://github.com/atnnnand moving to backlog -- we'll get to this soon.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/122#issuecomment-12532122.

  12. coffeemug commented on Jan 22, 2013

    @coffeemug
    Contributor

    regnat populus

  13. added a commit that references this issue on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions