We ingest quite a lot of looker dashboard elements...
# troubleshoot
h
We ingest quite a lot of looker dashboard elements, and started to see some issues regarding that in the GMS logs:
Copy code
07:10:21.041 [qtp544724190-10] INFO  c.l.metadata.entity.EntityService:681 - INGEST urn urn:li:chart:(looker,dashboard_elements.21845) with system metadata {lastObserved=1645427421035, runId=looker-2022_02_21-07_10_08}
07:10:21.053 [qtp544724190-10] INFO  c.l.m.filter.RestliLoggingFilter:56 - POST /entities?action=ingest - ingest - 500 - 12ms
07:10:21.053 [qtp544724190-10] ERROR c.l.m.filter.RestliLoggingFilter:38 - com.datahub.util.exception.RetryLimitReached: Failed to add after 3 retries
Is this a problem with the GMS database?
So checking, the logs more closely I see quite a lot of them. I dont see anything in particular in the monitoring for the DB. Any ideas on what could be the cause?
l
@high-hospital-85984 We have found that reducing
max_threads
to a low number (e.g: 3) fixes this issue. There might be some new rate limits introduced on Looker APIs. cc @dazzling-judge-80093
h
You mean in the ingestion recipe? I can try that, but I'm more concerned about the collaboration between the MCE and GMS services. There is no hurry for the MCE to ingest updates from Kafka, but still it manages to overload the GMS (I'm just guessing that's what's happening).
l
sorry - didn't notice that the log snippet is from GMS
@early-lamp-41924 ^ did we resolve this bug in a later release by any chance?
e
Are you referring to retry logic? That was only whem using datahub-rest not datahub-kafka
seems like we need better retry logic on the mce consumer?
l
let's track this issue closely cc @big-carpet-38439
h
I can do some more digging on my end as well. I just stumbled on this while investigating another issue, so didn't dive too deep yet.
b
This is coming in the Entity Service when we attempt to write into MySQL. Something is failing potentially due to the DB connections being oversaturated. Are you using hosted MySQL?
@high-hospital-85984 And which provider?
No other information in the trace about why this would be failing?
h
Hosted Postgres on AWS,
db.t3.medium
. I need to add better monitoring on the whole deployment to be give you better answers