https://kotlinlang.org logo
#exposed
Title
# exposed
d

dave08

06/28/2021, 3:11 PM
The
generateExposedTask
has been stuck for more than half-an-hour without crashing nor telling me what's wrong... how can I debug this?
It seems like it does take hours to process the tables but it doesn't spit out any code in the meantime? Sp in the end I just stop it, and I'm left with nothing...
I used --debug to see the progress...
b

Bogdan

07/01/2021, 5:21 PM
can you provide DDL? Also worth making an issue
t

tapac

07/05/2021, 11:36 AM
How much tables do you have in a schema? Did you run task for all table or only for some of them?
d

dave08

07/05/2021, 11:38 AM
151 tables, ran for all of them, but with limited permissions
Since most depend on each other, I can't import them separately
And most are created by the frontend "OroPlatform" ui.
t

tapac

07/05/2021, 11:39 AM
I guess there can by cyclic bug in that case. Do you have cyclic dependencies in your tables?
d

dave08

07/05/2021, 12:03 PM
Don't think so, at least not in our tables, but I can't promise that the OroPlatform didn't have any.
But the db is very big, (maybe 30gb). And there might be latency since the db's running on our k8s cluster, and I'm using kubectl port-forward to communicate.
t

tapac

07/05/2021, 3:32 PM
The db size should not matter as only db metadata (like tables/columns/indices names) will be extracted.
d

dave08

07/05/2021, 3:35 PM
SELECT and SHOW_VIEW privileges are enough?
2 Views