Hi folks, John,

I'm trying to migrate to a composite storage using CouchDB for history
and workitems, and Redis for everything else. It's been working great
in testing. I implemented some monkey patches to CompositeStorage,
partly to get it to work with other enhancements, but also because
there were some bugs in #add_type (ie. it didn't exist), #delete, and
#reserve https://gist.github.com/570681#file_ruote_couch_ext.rb.

With that done, I started working on migrating data from CouchDB to
Redis. My migration script is based on
http://groups.google.com/group/openwferu-users/browse_thread/thread/8d32d3052eacfba6/423f33bb4b44189f,
but works around StorageBase#copy_to because I didn't want to copy all
types of data. Here's the migration: https://gist.github.com/674557

Unfortunately, after this is run, I get this error: 
https://gist.github.com/674562

Printing the `scheds` that are passed to StorageBase#filter_schedules,
I see that the schedules in my original CouchDB database look like:

[{"msg"=>{<msg hash>}}]

while the migrated data looks like:

[1, 1, {"msg"=>{<msg hash>}}]

Seems likely to be the cause of the problem. Any thoughts on this? A
problem with the Redis storage backend perhaps?

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to