Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
1dd95e62
Commit
1dd95e62
authored
Jul 18, 2020
by
Carla Guillen
Browse files
adding check for timestamps which don't belong to a job
parent
535cf7d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
analytics/operators/persystsql/PerSystSqlOperator.cpp
View file @
1dd95e62
...
...
@@ -175,10 +175,14 @@ void PerSystSqlOperator::compute(U_Ptr unit, qeJobData& jobData) {
return
;
}
else
{
measurement_ts
=
_buffer
[
0
].
timestamp
;
if
(
measurement_ts
<
jobData
.
startTime
){
LOG
(
debug
)
<<
"PerSystSQL Operator: timestamps not part of job."
;
return
;
}
}
Aggregate_info_t
agg_info
;
agg_info
.
timestamp
=
(
measurement_ts
/
1e9
);
compute_internal
(
unit
,
_buffer
,
agg_info
,
measurement_ts
);
//it can't possibly be zero here
compute_internal
(
unit
,
_buffer
,
agg_info
,
measurement_ts
);
if
(
_backend
==
MARIADB
)
{
if
(
!
_persystdb
->
isInitialized
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment