Skip to content

TokuMX 1.0.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@leifwalsh leifwalsh released this 02 Jul 20:32
· 3984 commits to master since this release

General

  • The major developments in this release are replication and sharding.

New features and improvements

  • Replication and sharding are now supported for evaluation.
  • Sharding on a hashed key is supported (backported from 2.4).
  • Sharding creates clustering indexes by default, which is a significant performance advantage in most cases. If you need to shard on a non-clustering index, you need to specify that in sh.shardCollection(), for example
sh.shardCollection("test.foo",
                       {x: 1},
                       false, // unique
                       false  // clustering
                       );
  • The JS client driver now supports the clustering flag in sh.shardCollection, which should only be used if you want to specify that you want to shard on a NON-clustering index (set it to false). See above.
  • "DDL" changes (create, drop, ensureIndex, dropIndexes, rename) are now supported inside multi-statement transactions, and are properly rolled back on rollbackTransaction.
  • The C++ client driver now supports clustering indexes. This changes the function signature for DBClientWithCommands::ensureIndex, please check your applications in light of this API change.
  • The C++ client driver has a convenience class for multi-statement transactions: RemoteTransaction. Please check its documentation.
  • The local.oplog.rs collection is no longer capped, and instead can be trimmed to keep N days' worth of data. Use the command line flag --expireOplogDays to configure this number of days (by default, nothing is trimmed).