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

Feature request: Error handling in void *produce() #32

Open
65278 opened this issue Jul 17, 2018 · 0 comments
Open

Feature request: Error handling in void *produce() #32

65278 opened this issue Jul 17, 2018 · 0 comments

Comments

@65278
Copy link
Contributor

65278 commented Jul 17, 2018

On Bagger, tables were not created (create_partition.pl stalling forever on some broken instance). Since the result of PQputCopyData is not checked, this condition wasn't noticed until half a day later.

It'd be nice if the condition was communicated and schaufel shut down, so silent message combustion doesn't happen anymore. Here's what that looks like:

2018-07-17 08:56:06 UTC STATEMENT:  COPY bagger_32_5436_10.data FROM STDIN
2018-07-17 08:56:06 UTC ERROR:  relation "bagger_32_5436_10.data_callback_worker_event_2018_07_17_08" does not exist at character 13

And here's main.c on the issue:

157             //TODO: check success
158             producer_produce(p, msg);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant