feat(storage): add native PostgreSQL runtime and verified offline application import
Build and publish container images / images (push) Failing after 12m29s
Build and publish container images / images (push) Failing after 12m29s
This commit is contained in:
1 parent
96065d1e89
commit
0ba1dcfef0
243 files changed
+21441
-3090
No files matched your search
@@ -15,6 +15,11 @@ var ErrEventCompletionLog = errors.New("event state saved but completion log fai
|
||||
|
||||
const eventLogJobTypeSQL = `SELECT event_type FROM event_jobs WHERE uuid=?`
|
||||
|
||||
type eventLogSQL interface {
|
||||
QueryRowContext(context.Context, string, ...any) *sql.Row
|
||||
ExecContext(context.Context, string, ...any) (sql.Result, error)
|
||||
}
|
||||
|
||||
// withEventLogWriter takes the WAL writer lock BEFORE reading policy/job facts.
|
||||
// Only lock acquisition is retried: neither writes nor an ambiguous COMMIT are
|
||||
// replayed. The short SQLite wait allows caller cancellation between attempts.
|
||||
|
||||
Reference in new issue
Block a user