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

[Bug]: FilePicker - Remove upload xlsx file with macros makes all queries slow #37902

Open
1 task done
honeybifredriklofstedt opened this issue Dec 2, 2024 · 3 comments
Open
1 task done
Assignees
Labels
Bug Something isn't working Community Reported issues reported by community members Core Query Execution Issues related to the execution of all queries High This issue blocks a user from building or impacts a lot of users Integrations Product Issues related to a specific integration Needs Triaging Needs attention from maintainers to triage Production Query & JS Pod Issues related to the query & JS Pod

Comments

@honeybifredriklofstedt
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

I have created a file upload application that pare an uploaded excel file and insert rows into a database table followed by code to start a job in backend. This works fine but when the user clears the FilePicker component and upload an other file all subsequent queries becomes a lot slower. An extra 30 seconds are added before and after every query. When user refresh the page, things starts to work well again.

Steps To Reproduce

  1. create a we page with FilePicker component : Any File, Array of objects
  2. create two queries to a database
  3. For event FilePicker onFilesSelected call a js object function that fist call query 1 and .then call query 2
  4. add a button to the page and call same object function as in step 3 onClick event
    Now:
  5. With the app, upload the xlsm file in attached zip-file
    Planning Lokal.xlsm.zip
  6. Notice that queries run fast
  7. Click on button and queries should still run fast.
  8. Click on File picker and remove file that was uploaded
  9. Click on button to run queries, notice long time before and after each query

Public Sample App

No response

Environment

Production

Severity

Critical (Broken Production apps)

Issue video log

No response

Version

Self hosted 1.46.1

@honeybifredriklofstedt honeybifredriklofstedt added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels Dec 2, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Community Reported issues reported by community members Critical This issue needs immediate attention. Drop everything else Production High This issue blocks a user from building or impacts a lot of users Core Query Execution Issues related to the execution of all queries and removed Critical This issue needs immediate attention. Drop everything else labels Dec 2, 2024
@github-actions github-actions bot added Integrations Product Issues related to a specific integration Query & JS Pod Issues related to the query & JS Pod labels Dec 3, 2024
@honeybifredriklofstedt
Copy link
Author

Hi,
Anything new on this?

@sneha122
Copy link
Contributor

@honeybifredriklofstedt Thank you for reporting this issue! Is it possible for you to share the console error if any that indicates why queries might be slow after removing file? If you can attach a video explaining the problem with dev tools console open, that would also be very helpful in debugging the issue further.

@honeybifredriklofstedt
Copy link
Author

Can you please test it on your side instead.

@dvj1988 dvj1988 self-assigned this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Community Reported issues reported by community members Core Query Execution Issues related to the execution of all queries High This issue blocks a user from building or impacts a lot of users Integrations Product Issues related to a specific integration Needs Triaging Needs attention from maintainers to triage Production Query & JS Pod Issues related to the query & JS Pod
Projects
None yet
Development

No branches or pull requests

7 participants