If a pre commit hook is defined, import operations will fail.
Steps to Reproduce:
Define a pre commit hook
Import data
Root cause
Import uses multiple async Go routines to import the data. Those Go routines start their own contexts, thus dropping the middleware-initialized contexts with a username field in them. This results in a user not found error when the import operation tries to commit (and the pre commit hook validates the user that ran the import).
What happened?
If a pre commit hook is defined, import operations will fail.
Steps to Reproduce:
Root cause
Import uses multiple async Go routines to import the data. Those Go routines start their own contexts, thus dropping the middleware-initialized contexts with a username field in them. This results in a
user not found
error when the import operation tries to commit (and the pre commit hook validates the user that ran the import).Expected behavior
No response
lakeFS version
1.39.2
How lakeFS is installed
No response
Affected clients
No response
Relevant log output
No response
Contact details
No response