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

Change ~jobs.error_stack from blob to mediumblob #984

Closed
chrisroat opened this issue Jan 19, 2022 · 2 comments · Fixed by #986
Closed

Change ~jobs.error_stack from blob to mediumblob #984

chrisroat opened this issue Jan 19, 2022 · 2 comments · Fixed by #986
Labels

Comments

@chrisroat
Copy link
Contributor

Bug Report

Description

I recently hit the following exception during a job error, which I admit is likely to be rare.

(1406, "Data too long for column 'error_stack' at row 1")

I am mitigating by changing error_stack to mediumblob for our datajoint fork.

@dimitri-yatsenko
Copy link
Member

dimitri-yatsenko commented Jan 20, 2022

Wow! A 64kB+ stack! Makes sense. Will change to medium blob. The change won't upgrade existing schemas, so users will need to drop the old jobs table for the change to take effect.

schema.jobs.drop()

@dimitri-yatsenko
Copy link
Member

@chrisroat Would you like to PR your change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants