transition to couchdb mostly finished