Sort out different timestamps
This commit is contained in:
parent
060ce2e263
commit
c193962c92
1 changed files with 2 additions and 2 deletions
|
@ -432,7 +432,7 @@ put_object(LedgerKey, Object, KeyChanges, State) ->
|
||||||
State#state{journal_sqn=NewSQN, put_timing=UpdPutTimings},
|
State#state{journal_sqn=NewSQN, put_timing=UpdPutTimings},
|
||||||
byte_size(JournalBin)};
|
byte_size(JournalBin)};
|
||||||
roll ->
|
roll ->
|
||||||
SW = os:timestamp(),
|
SWroll = os:timestamp(),
|
||||||
CDBopts = State#state.cdb_options,
|
CDBopts = State#state.cdb_options,
|
||||||
ManEntry = start_new_activejournal(NewSQN,
|
ManEntry = start_new_activejournal(NewSQN,
|
||||||
State#state.root_path,
|
State#state.root_path,
|
||||||
|
@ -445,7 +445,7 @@ put_object(LedgerKey, Object, KeyChanges, State) ->
|
||||||
ok = leveled_cdb:cdb_put(NewJournalP,
|
ok = leveled_cdb:cdb_put(NewJournalP,
|
||||||
JournalKey,
|
JournalKey,
|
||||||
JournalBin),
|
JournalBin),
|
||||||
leveled_log:log_timer("I0008", [], SW),
|
leveled_log:log_timer("I0008", [], SWroll),
|
||||||
{rolling,
|
{rolling,
|
||||||
State#state{journal_sqn=NewSQN,
|
State#state{journal_sqn=NewSQN,
|
||||||
manifest=NewManifest,
|
manifest=NewManifest,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue