Alter logging to help understand performance factors
Change logging of the snapshots to better understand performance
This commit is contained in:
parent
b1e12a3bc5
commit
5c2f05858d
4 changed files with 13 additions and 7 deletions
|
@ -289,12 +289,12 @@ release_snapshot(Manifest, Pid) ->
|
|||
{SnapList0, MinSnapSQN} = lists:foldl(FilterFun,
|
||||
{[], infinity},
|
||||
Manifest#manifest.snapshots),
|
||||
leveled_log:log("P0004", [SnapList0]),
|
||||
case SnapList0 of
|
||||
[] ->
|
||||
Manifest#manifest{snapshots = SnapList0,
|
||||
min_snapshot_sqn = 0};
|
||||
_ ->
|
||||
leveled_log:log("P0004", [SnapList0]),
|
||||
Manifest#manifest{snapshots = SnapList0,
|
||||
min_snapshot_sqn = MinSnapSQN}
|
||||
end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue