concord
concord copied to clipboard
Plans for splitting up PROCESS_QUEUE table
We need to split the PROCESS_QUEUE table up.
In order to do that we need to plan some changes across several releases.
Here's the approximate plan:
- release 1.63.0:
- create a new
PROCESS_STATUStable:INSTANCE_IDCREATED_ATCURRENT_STATUSLAST_UPDATED_AT
- create necessary indicies;
- create a trigger to fill
PROCESS_STATUStable in.
- create a new
- release (+ 1 month from 1.63.0):
- drop the trigger;
- make
PROCESS_QUEUE.CURRENT_STATUSandLAST_UPDATED_ATnullable, stop using those columns in the code; - (optionally) drop
PROCESS_QUEUE.CURRENT_STATUSandLAST_UPDATED_ATcolumns.
cc @brig, @mtkunkel, @benbroadaway