#647 ✓resolved
Martin Gamsjaeger (snusnu)

100% cpu load forever while doing DataMapper.auto_migrate!

Reported by Martin Gamsjaeger (snusnu) | November 10th, 2008 @ 12:34 PM


I can't get edge dm-0.9.7 to perform auto_migrate! (and auto_upgrade!) anymore. It always hangs forever with 100% cpu usage when performing DataMapper.auto_migrate! When I hit ctrl-c fast enough (!!) i get this stacktrace: http://www.pastie.org/311534 . When I wait "too long" I don't see any error message!

This happens on: mysql Ver 14.13 Distrib 5.1.20-beta, for apple-darwin8.5.1 (i686) using readline 5.0

Dan Kubb suggested a few days ago (in irc), that this is maybe connected to a bug in extlib/pooling.

Asking on irc, no one else seems to experience this behavior, which is kind of weird. My problem is, that I can't really go back to dm-0.9.6 because I need dm-is-remixable which wasn't part of dm-0.9.6 in the first place, and also doesn't work with dm-0.9.6 (it's not a simple dependency mismatch, there is a problem with auto_migrate! as well)

Any ideas?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »