1/2 of objects will now have long names, and we'll shift the region
of the hash space where new objects are created every 1024 objects
created.
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit
4b44720f752ebac63454ecd338e2b0c77c8fe501)
Conflicts:
src/test/objectstore/store_test.cc
name = "DIR_" + name;
}
+ if (seq % 2) {
+ for (unsigned i = 0; i < 300; ++i) {
+ name.push_back('a');
+ }
+ }
+
// hash
//boost::binomial_distribution<uint32_t> bin(0xFFFFFF, 0.5);
++seq;