Merging TokuDB and jemalloc
We merge TokuDB and jemalloc from Tokutek git repositories on GutHub (https://github.com/Tokutek/) using the modified bzr-git plugin.
First, you need to install our modified bzr-git plugin. Grab it here: lp:maria-captains/bzr-git/serg
Then, branch all necessary trees from
git://github.com/Tokutek/jemallocgit://github.com/Tokutek/ft-engine.gitgit://github.com/Tokutek/ft-index.git
Select what revision you want to merge up to. Apparently, git history doesn't map to bzr history 1:1 (or bzr-git plugin cannot reconstruct it properly), so using -r tag:tokudb-7.0.4 (for example), does not always work. In this case, look for the comment of the revision with this tag, and search for it in your branched bzr tree.
Merge from all three trees into the MariaDB tree normally, use -r revno if necessary.
Resolve the conflicts, verify that no files outside of (respectively)
extra/jemallocstorage/tokudb/storage/tokudb/ft-index
are added, removed, or modified. Compile, run tokudb tests:
./mtr --suite rpl-tokudb,tokudb,tokudb_add_index,tokudb_alter_table,tokudb_bugs,tokudb_mariadb
Commit and push.