Add logging of Manifest SQN at startup
This commit is contained in:
parent
ea171cb13b
commit
7b0b3e9b83
2 changed files with 3 additions and 1 deletions
|
@ -126,6 +126,8 @@
|
||||||
{"P0034",
|
{"P0034",
|
||||||
{warn, "Snapshot with pid ~w timed out and so deletion will "
|
{warn, "Snapshot with pid ~w timed out and so deletion will "
|
||||||
++ "continue regardless"}},
|
++ "continue regardless"}},
|
||||||
|
{"P0035",
|
||||||
|
{info, "Startup with Manifest SQN of ~w~n"}},
|
||||||
{"PC001",
|
{"PC001",
|
||||||
{info, "Penciller's clerk ~w started with owner ~w"}},
|
{info, "Penciller's clerk ~w started with owner ~w"}},
|
||||||
{"PC002",
|
{"PC002",
|
||||||
|
|
|
@ -610,7 +610,7 @@ start_from_file(PCLopts) ->
|
||||||
SQNFun),
|
SQNFun),
|
||||||
leveled_log:log("P0014", [MaxSQN]),
|
leveled_log:log("P0014", [MaxSQN]),
|
||||||
ManSQN = leveled_manifest:get_manifest_sqn(Manifest1),
|
ManSQN = leveled_manifest:get_manifest_sqn(Manifest1),
|
||||||
|
leveled_log:log("P0035", [ManSQN]),
|
||||||
%% Find any L0 files
|
%% Find any L0 files
|
||||||
L0FN = filepath(RootPath, ManSQN, new_merge_files) ++ "_0_0.sst",
|
L0FN = filepath(RootPath, ManSQN, new_merge_files) ++ "_0_0.sst",
|
||||||
case filelib:is_file(L0FN) of
|
case filelib:is_file(L0FN) of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue