Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop-3.1' into nhse-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner committed Sep 18, 2024
2 parents 5a75d04 + da092d0 commit dadbb72
Show file tree
Hide file tree
Showing 8 changed files with 979 additions and 440 deletions.
5 changes: 4 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
{plugins, [rebar_eqc]}
]},
{test, [{extra_src_dirs, ["test/end_to_end", "test/property"]}
]}
]},
{perf_full, [{erl_opts, [{d, performance, riak_fullperf}]}]},
{perf_mini, [{erl_opts, [{d, performance, riak_miniperf}]}]},
{perf_prof, [{erl_opts, [{d, performance, riak_profileperf}]}]}
]}.

{deps, [
Expand Down
8 changes: 1 addition & 7 deletions src/leveled_penciller.erl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@

-behaviour(gen_server).

-include("include/leveled.hrl").
-include("leveled.hrl").

-export([
init/1,
Expand Down Expand Up @@ -207,23 +207,17 @@
-export([clean_testdir/1]).
-endif.

-define(MAX_WORK_WAIT, 300).
-define(MANIFEST_FP, "ledger_manifest").
-define(FILES_FP, "ledger_files").
-define(CURRENT_FILEX, "crr").
-define(PENDING_FILEX, "pnd").
-define(SST_FILEX, ".sst").
-define(ARCHIVE_FILEX, ".bak").
-define(SUPER_MAX_TABLE_SIZE, 40000).
-define(PROMPT_WAIT_ONL0, 5).
-define(WORKQUEUE_BACKLOG_TOLERANCE, 4).
-define(COIN_SIDECOUNT, 4).
-define(SLOW_FETCH, 500000). % Log a very slow fetch - longer than 500ms
-define(FOLD_SCANWIDTH, 32).
-define(ITERATOR_SCANWIDTH, 4).
-define(ITERATOR_MINSCANWIDTH, 1).
-define(TIMING_SAMPLECOUNTDOWN, 10000).
-define(TIMING_SAMPLESIZE, 100).
-define(SHUTDOWN_LOOPS, 10).
-define(SHUTDOWN_PAUSE, 10000).
% How long to wait for snapshots to be released on shutdown
Expand Down
Loading

0 comments on commit dadbb72

Please sign in to comment.