Mas d31 i413 (#415)
* Allow snapshots to be reused in queries Allow for a full bookie snapshot to be re-used for multiple queries, not just KV fetches. * Reduce log noise The internal dummy tag is expected so should not prompt a log on reload * Snapshot should have same status of active db wrt head_only and head_lookup * Allow logging to specified on snapshots * Shutdown snapshot bookie is primary goes down Inker and Penciller already will shut down based on `erlang:monitor/2` * Review feedback Formatting and code readability fixes
This commit is contained in:
parent
9e804924a8
commit
d544db5461
9 changed files with 289 additions and 183 deletions
|
@ -48,6 +48,8 @@
|
|||
{info, <<"Snapshot starting with Ink ~w Pcl ~w">>},
|
||||
b0003 =>
|
||||
{info, <<"Bookie closing for reason ~w">>},
|
||||
b0004 =>
|
||||
{warn, <<"Bookie snapshot exiting as master store ~w is down for reason ~p">>},
|
||||
b0005 =>
|
||||
{info, <<"LedgerSQN=~w at startup">>},
|
||||
b0006 =>
|
||||
|
@ -83,17 +85,17 @@
|
|||
p0005 =>
|
||||
{debug, <<"Delete confirmed as file ~s is removed from Manifest">>},
|
||||
p0007 =>
|
||||
{debug, <<"Sent release message for cloned Penciller following close for reason ~w">>},
|
||||
{debug, <<"Shutdown complete for cloned Penciller for reason ~w">>},
|
||||
p0008 =>
|
||||
{info, <<"Penciller closing for reason ~w">>},
|
||||
p0010 =>
|
||||
{info, <<"level zero discarded_count=~w on close of Penciller">>},
|
||||
p0011 =>
|
||||
{info, <<"Shutdown complete for Penciller for reason ~w">>},
|
||||
{debug, <<"Shutdown complete for Penciller for reason ~w">>},
|
||||
p0012 =>
|
||||
{info, <<"Store to be started based on manifest sequence number of ~w">>},
|
||||
p0013 =>
|
||||
{warn, <<"Seqence number of 0 indicates no valid manifest">>},
|
||||
{info, <<"Seqence number of 0 indicates no valid manifest">>},
|
||||
p0014 =>
|
||||
{info, <<"Maximum sequence number of ~w found in nonzero levels">>},
|
||||
p0015 =>
|
||||
|
@ -246,6 +248,10 @@
|
|||
{warn, <<"Journal SQN of ~w is below Ledger SQN of ~w anti-entropy will be required">>},
|
||||
i0026 =>
|
||||
{info, <<"Deferring shutdown due to snapshot_count=~w">>},
|
||||
i0027 =>
|
||||
{debug, <<"Shutdown complete for cloned Inker for reason ~w">>},
|
||||
i0028 =>
|
||||
{debug, <<"Shutdown complete for Inker for reason ~w">>},
|
||||
ic001 =>
|
||||
{info, <<"Closed for reason ~w so maybe leaving garbage">>},
|
||||
ic002 =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue