summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2012-12-11 17:07:08 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2012-12-11 17:07:08 +1100
commita27b2fb286961c14da271be027bb1e8de6e2e777 (patch)
tree6e2f82e3403efb60213a325596400b6bc5ed09dd /bench
parenta778e63a243c59b3e0ffda3daab1002f689375d4 (diff)
downloadmongo-a27b2fb286961c14da271be027bb1e8de6e2e777.tar.gz
Remove bulk load from wtperf - it's ignored by LSM, and we are not
loading keys in sort order.
Diffstat (limited to 'bench')
-rw-r--r--bench/wtperf/wtperf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c
index 090f55efb7a..3b3d9b22a36 100644
--- a/bench/wtperf/wtperf.c
+++ b/bench/wtperf/wtperf.c
@@ -348,10 +348,8 @@ populate_thread(void *arg)
goto err;
}
- /* Can only use bulk load single threaded. */
if ((ret = session->open_cursor(
- session, cfg->uri, NULL,
- cfg->populate_threads == 1 ? "bulk" : "", &cursor)) != 0) {
+ session, cfg->uri, NULL, NULL, &cursor)) != 0) {
lprintf(cfg, ret, 0, "Error opening cursor %s", cfg->uri);
goto err;
}
@@ -585,7 +583,7 @@ int execute_populate(CONFIG *cfg)
return (ret);
lprintf(cfg, 0, 1,
- "Finished bulk load of %d items", cfg->icount);
+ "Finished load of %d items", cfg->icount);
secs = e.tv_sec + e.tv_usec / 1000000.0;
secs -= (cfg->phase_start_time.tv_sec +
cfg->phase_start_time.tv_usec / 1000000.0);