Open prashil-g opened 2 years ago
FYI: @obsd @roekatz @asafc
Hi @orweis Did you find any fix for this?
Hi @prashil-g, thanks for the detailed bug description. Do you consider the tar file to come from a safe source (no user input on file names etc..)? I'm investigating it now and it will help me to come up with more possible solutions.
We do trust the source. But that might not be the case for most users
@prashil-g sorry for a long time it took me I've pushed a suggestion that may help you, I will consult with @orweis and @asafc about it meanwhile, I would love to hear your thoughts as well https://github.com/permitio/opal/pull/284 Note that this is a draft PR
@orweis have we got more requirements like this after the PR or we can close the issue?
Not that I'm aware of
Describe the bug Seeing timeout and crash of worker threads when policy tar containing large numeber of policy is pushed
To Reproduce running the api source docker compose reference provided in the permitio github repo and sending policy bundle attached bundle.tar.gz
Expected behavior Tar ball containing large number of policy rego should not take more time to untar
Screenshots
OPAL version
Issue was identified with tarsafe wrapper. If tarsafe wrapper isnt used, untarring the tar with large number of files is very fast and no worker crash seen