Open almicol opened 6 years ago
I never observed such behaviour before (except maybe with text
...but this one is kind of special).
I did not succeed to reproduce the same problem as you.
Could you try with a more recent version of the library (i.e. v2.1 or v2.2)?
I indeed already fixed few things relative to the abortion of jobs (see News about v2.1, especially "Fix abortion of a query" and "Fix DB transaction end")
Are you still observing this problem?
Yes, but I haven't upgraded from the master.
I just tried again, but I was not able to reproduce this issue.
I tried with CSV, first with a default timeout of 3 seconds, then of 30 seconds. The SQL query execution was very fast, but not the generation of the result. The job was canceled during the result formating, as, I assume, it should be in your case.
I don't know if you have already tested with a more recent version of the library, but another possibility would be a sync_fetch_size
and/or async_fetch_size
too large. Generally, a good value is about 100 or 1000.
What value do you have for these properties?
@vforchi and @almicol , do you still observe this problem? Even after an update of TAPLib?
If no answer in some days or if the answer is "no", I will close this GitHub Issue.
Sorry Gregory both Vincenzo and I are on holidays. Please do not expect an answer before the end of next week. Thanks, Alberto
On 21 Aug 2020, at 11:37, Grégory Mantelet notifications@github.com wrote:
@vforchi and @almicol , do you still observe this problem? Even after an update of TAPLib?
If no answer in some days or if the answer is "no", I will close this GitHub Issue.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi Grégory, Depending on the output format selected, a job could still run after having reached the executionDuration limit. This can cause stress to the database server, hence we are going to disable the following formats until a fix is implemented: csv, tsv, text, html, json
Formats which do respect the executionDuration limits are: votable, votable/b, fits
PS: Other formats were not tested.