GitHub
11/05/2024, 12:56 PMstatus column instead of several ones. It would be simplicity and readability. Also, it would be efficient when querying the status, we don't have to write a query for each column. A classic example would be "active = ? AND completed = ? AND deleted = ? AND expired = ? AND type = ? AND environment_id = ?",
In this case, we can get rid of several tables, we only need one table to track the status of all distributed queries.
TODO after this merged:
• Update the logic of completing a distributed query
• Update the logic shown expected node and completed node
• Remove several tables that are no longer needed
jmpsec/osctrlGitHub
11/14/2024, 12:48 PM