cucumber-report-db icon indicating copy to clipboard operation
cucumber-report-db copied to clipboard

Mongo db3 migration

Open maxtar opened this issue 10 years ago • 5 comments

Hi, are you planning migrate cucmber-report-db to mongodb 3.0 with support wiredTiger storage? I've tried migrate old database to new format, but application doesn't see a data. P.S.: I've changed java-mongodb-driver to 3 version and it started works.

maxtar avatar Mar 06 '15 09:03 maxtar

I've got to check whether they are backwards compatible - but it sounds like a plan. Thanks for the input and for trying it!

klausbayrhammer avatar Mar 10 '15 14:03 klausbayrhammer

If I understood correctly 3 version backward compatible. Need use new driver only. But you are using spring-data-mongodb, I don't know which version compatible with mongodb 3. Why we need the third version? Because it maintains compress database.

maxtar avatar Mar 11 '15 08:03 maxtar

I've tried to run it on mongodb 3 (db version v3.0.1 git version: 534b5a3f9d10f00cd27737fbcd951032248b5952) and it worked out of the box. Even without upgrading drivers or bumping versions. I've tried it on a new database as well as migrating a mongodb2 database to mongodb3. Which mongodb-version have you did you try?

klausbayrhammer avatar Mar 17 '15 22:03 klausbayrhammer

Sorry, Klaus for late answer. GitHub was banned on my work. :( I forgot mention that I use new storage engine, called "wired tiger". In this case cucumber-report-db can't read database.

maxtar avatar Mar 21 '15 14:03 maxtar

Hi, Klaus. Are you have any progress?

maxtar avatar Aug 10 '15 12:08 maxtar