You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was just testing the QueuedAuditorClient (#240) and found that we allow to submit records without a stop_time to AUDITOR, but don't have a way to retrieve them again.
When using /record?state=started&since={date} we should get records without a stop_time, right?
But in auditor/src/routes/get_since.rs line 83 we have
WHEREa.start_time> $1anda.runtimeIS NOT NULL
which filters out any record without stop_time.
I think we should drop the and a.runtime IS NOT NULL?
The text was updated successfully, but these errors were encountered:
Hey, yes I think you're right. It may make sense to filter out these records when we query for records that have been stopped since a given point in time (i.e. /record?state=stopped&since={date}) but not in the case of state=started.
We actually stumbled across this while extending the query options when retrieving records (see #525, this will be merged in the next few days). Right now, we replicated the old behavior, but we wanted to revisit this anyways in the future:
It may make sense to filter out these records when we query for records that have been stopped since a given point in time (i.e. /record?state=stopped&since={date}) but not in the case of state=started
Yes, I agree, that sounds good.
Anyway, it's not a pressing matter. Revisiting in the future sounds fine.
Hi,
I was just testing the
QueuedAuditorClient
(#240) and found that we allow to submit records without astop_time
to AUDITOR, but don't have a way to retrieve them again.When using
/record?state=started&since={date}
we should get records without astop_time
, right?But in
auditor/src/routes/get_since.rs
line 83 we havewhich filters out any record without
stop_time
.I think we should drop the
and a.runtime IS NOT NULL
?The text was updated successfully, but these errors were encountered: