Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX validation data for oriondb consistency script #4617

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

fgalan
Copy link
Member

@fgalan fgalan commented Sep 20, 2024

It was causing ERROR traces like this:

time=2024-09-20T07:09:56.259Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=safeMongo.cpp[63]:logKeyNotFound | msg=Runtime Error (field 'timeout' was supposed to be a long but the type is 'Object' (type as integer: 3) in BSONObj <{ "_id" : { "$oid" : "661674497716995c9d05299d" }, "expiration" : { "$numberLong" : "9223372036854775807" }, "reference" : "http://notify-receptor:5055/notify", "custom" : true, "timeout" : { "$numberLong" : "0" }, "headers" : { "fiware-servicepath" : "/SS1" }, "throttling" : { "$numberLong" : "0" }, "maxFailsLimit" : { "$numberLong" : "-1" }, "servicePath" : "/SS2", "status" : "active", "statusLastChange" : 1682640509.6958136559, "entities" : [ { "id" : ".*", "isPattern" : "true", "type" : "T", "isTypePattern" : false } ], "attrs" : [ "temperature" ], "metadata" : [ ], "blacklist" : false, "onlyChanged" : false, "covered" : false, "description" : "Foobar", "conditions" : [ "TimeInstant" ], "expression" : { "q" : "", "mq" : "", "geometry" : "", "coords" : "", "georel" : "" }, "altTypes" : [ ], "format" : "normalized" }> from caller fill:123)

Copy link
Member

@AlvaroVega AlvaroVega left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AlvaroVega AlvaroVega merged commit f89231b into master Sep 20, 2024
16 checks passed
@AlvaroVega AlvaroVega deleted the hardening/fix-validation-data-oriondb-consistency branch September 20, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants