ores.compute.result

Table of Contents

Bridges the workunit definition and the actual execution on a grid node. Tracks PGMQ lease state, server-side lifecycle (Inactive/Unsent/InProgress/Done), and the location of output data. The BOINC equivalent of 'result'.

Flags

Primary key

UUID primary key for the result.

Natural keys

Columns

workunit_id

FK reference to ores_compute_workunits_tbl.

host_id

FK reference to ores_compute_hosts_tbl; NULL until the result is dispatched.

pgmq_msg_id

PGMQ lease pointer; NULL when not actively queued.

server_state

State machine: 1=Inactive, 2=Unsent, 4=InProgress, 5=Done.

outcome

Result outcome code: 1=Success, 3=ClientError, 4=NoReply.

output_uri

URI where the wrapper uploaded the zipped output; NULL until completed.

received_at

Timestamp when the output was received by the server pool.

SQL

Flags

C++

Flags

Repository

Domain includes

#include <string>
#include <cstdint>
#include <chrono>
#include <boost/uuid/uuid.hpp>

Conventions

Qt

Columns (Qt model)

enum_name field header type width
WorkunitId workunit_id Workunit ID uuid 160
HostId host_id Host ID uuid 160
ServerState server_state State int 70
Outcome outcome Outcome int 70
OutputUri output_uri Output URI string 200
ReceivedAt received_at Received At timestamp 140
Version version Version int 60
ModifiedBy modified_by Modified By string 120

Custom repository methods

See also

Emacs 29.1 (Org mode 9.6.6)