Log improvements
Continuation of log review and conversion to using central log function. Fixup of convoluted shutdown process between Bookie, Inker and Inker's Clerk
This commit is contained in:
parent
c6fc8d1768
commit
4e46c9735d
6 changed files with 128 additions and 91 deletions
|
@ -715,7 +715,7 @@ checkready(Pid) ->
|
|||
%% to an immediate return as expected. With 32K keys in the TreeList it could
|
||||
%% take around 35-40ms.
|
||||
%%
|
||||
%% To avoid blocking this gen_server, the SFT file cna request each item of the
|
||||
%% To avoid blocking this gen_server, the SFT file can request each item of the
|
||||
%% cache one at a time.
|
||||
%%
|
||||
%% The Wait is set to false to use a cast when calling this in normal operation
|
||||
|
@ -1417,6 +1417,10 @@ simple_server_test() ->
|
|||
1)),
|
||||
ok = pcl_close(PclSnap),
|
||||
|
||||
% Ignore a fake pending mnaifest on startup
|
||||
ok = file:write_file(RootPath ++ "/" ++ ?MANIFEST_FP ++ "nonzero_99.pnd",
|
||||
term_to_binary("Hello")),
|
||||
|
||||
{ok, PclSnap2} = pcl_start(SnapOpts),
|
||||
ok = pcl_loadsnapshot(PclSnap2, gb_trees:empty()),
|
||||
?assertMatch(false, pcl_checksequencenumber(PclSnap2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue