noisepage icon indicating copy to clipboard operation
noisepage copied to clipboard

Error catching for internal tasks (queries)

Open linmagit opened this issue 3 years ago • 1 comments

We added support for internal tasks in #1502, but we don't catch the errors when the internal tasks fail. Instead, we just print our error log messages from the command line. We should discuss how we really want to handle these errors.

linmagit avatar Apr 20 '21 15:04 linmagit

Based on the discussion during today's team meeting, we're going to return the internal task execution status (e.g., success/failure) through a Future and let the caller decide how to handle that. So I think our infrastructure for DML tasks already supports that, but we should also support that for the DDL tasks, e.g., during the DBMS start time to create the internal tables.

linmagit avatar Apr 20 '21 20:04 linmagit