Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
haf
Commits
e6803dce
Commit
e6803dce
authored
6 days ago
by
Marcin
Browse files
Options
Downloads
Patches
Plain Diff
issue
#283
: correct initialize start time
parent
70974c14
No related branches found
Branches containing commit
Tags
0.20.7
Tags containing commit
1 merge request
!633
Resolve "Strange time error with HAF on s19, maybe config problem?"
Pipeline
#118776
failed
6 days ago
Stage: build_and_test_phase_1
Stage: build_and_test_phase_2
Stage: cleanup
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sql_serializer/indexation_state.cpp
+2
-2
2 additions, 2 deletions
src/sql_serializer/indexation_state.cpp
with
2 additions
and
2 deletions
src/sql_serializer/indexation_state.cpp
+
2
−
2
View file @
e6803dce
...
...
@@ -162,6 +162,8 @@ indexation_state::indexation_state(
FC_ASSERT
(
_psql_first_block
>=
1
,
"psql-first-block=${v} < 1"
,
(
"v"
,
_psql_first_block
)
);
cached_data_t
empty_data
{
0
};
set_state
(
INDEXATION
::
START
);
ilog
(
"Entered START sync state"
);
_start_state_time
=
fc
::
time_point
::
now
();
_on_irreversible_block_conn
=
_chain_db
.
add_irreversible_block_handler
(
[
this
](
uint32_t
block_num
){
on_irreversible_block
(
block_num
);
}
...
...
@@ -289,8 +291,6 @@ indexation_state::update_state(
FC_ASSERT
(
get_state
()
!=
INDEXATION
::
LIVE
,
"Move from LIVE state is illegal"
);
switch
(
state
)
{
case
INDEXATION
::
START
:
ilog
(
"Entered START sync state"
);
_start_state_time
=
fc
::
time_point
::
now
();
break
;
case
INDEXATION
::
P2P
:
ilog
(
"Entering P2P sync..."
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment