anchor.diff:              [];
           _ ->
               io_lib:format("ephemeral_metadata_purge_age=~p;", [PurgeAge])
  +    end.
  +
  +ht_size_cfg_string(BucketConfig) ->
  +    case proplists:get_value(ht_size, BucketConfig,
  +                             misc:getenv_int("MEMBASE_HT_SIZE", 0)) of
  +        0 ->
  +            [];
  +        X when is_integer(X) ->
  +            io_lib:format("ht_size=~B;", [X])
       end.
   
   -spec storage_mode([{_,_}]) -> atom().
  
positive.code:                       "conflict_resolution_type=~s;"
                        "bucket_type=~s;~s",
                        [proplists:get_value(
                           ht_size, BucketConfig,
                           misc:getenv_int("MEMBASE_HT_SIZE", 3079)),
                         proplists:get_value(
                           ht_locks, BucketConfig,
                           misc:getenv_int("MEMBASE_HT_LOCKS", 47)),
                         MemQuota,
  
negative.code:                        eviction_policy_cfg_string(BucketConfig, ItemEvictionPolicy,
                                                    EphemeralFullPolicy)]),
                  CFG1 = metadata_purge_age_cfg_string(EphemeralPurgeAge) ++ CFG,
                  CFG2 = ht_size_cfg_string(BucketConfig) ++ CFG1,
                  {CFG2, {MemQuota, DBSubDir, NumThreads, ItemEvictionPolicy, EphemeralFullPolicy,
                         DriftThresholds, EphemeralPurgeAge}, DBSubDir};
              memcached ->
                  {io_lib:format("cache_size=~B;uuid=~s", [MemQuota, BucketUUID]),
  