Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Add parameter and jobs database schema#81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kylecarbs merged 4 commits intomainfromparameterschema
Jan 29, 2022

Conversation

kylecarbs
Copy link
Member

This modifies a prior migration which is typically forbidden,
but because we're pre-production deployment I felt grouping
would be helpful to future contributors.

This adds database functions that are required for the provisioner
daemon and job queue logic.

This modifies a prior migration which is typically forbidden,but because we're pre-production deployment I felt groupingwould be helpful to future contributors.This adds database functions that are required for the provisionerdaemon and job queue logic.
@codecov
Copy link

codecovbot commentedJan 29, 2022
edited
Loading

Codecov Report

Merging#81 (2793877) intomain (599ea2a) willincrease coverage by0.02%.
The diff coverage isn/a.

Impacted file tree graph

@@            Coverage Diff             @@##             main      #81      +/-   ##==========================================+ Coverage   71.84%   71.87%   +0.02%==========================================  Files          88       88                Lines        3417     3417                Branches       55       55              ==========================================+ Hits         2455     2456       +1+ Misses        753      752       -1  Partials      209      209
FlagCoverage Δ
unittest-go-macos-latest67.42% <ø> (+0.03%)⬆️
unittest-go-ubuntu-latest69.69% <ø> (+0.10%)⬆️
unittest-go-windows-latest67.24% <ø> (+0.25%)⬆️
unittest-js78.30% <ø> (ø)
Impacted FilesCoverage Δ
peer/conn.go74.69% <0.00%> (+0.30%)⬆️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update599ea2a...2793877. Read thecomment docs.

Comment on lines +27 to +28
UPDATE
SKIP LOCKED
Copy link
Contributor

@bryphe-coderbryphe-coderJan 29, 2022
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

question (non-blocking): Just curious why this is necessary?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'll add a comment!

bryphe-coder reacted with heart emoji
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Added the following comment:

-- Acquires the lock for a single job that isn't started, completed,-- cancelled, and that matches an array of provisioner types.---- SKIP LOCKED is used to jump over locked rows. This prevents-- multiple provisioners from acquiring the same jobs. See:-- https://www.postgresql.org/docs/9.5/sql-select.html#SQL-FOR-UPDATE-SHARE

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Excellent, thank you!

Copy link
Contributor

@bryphe-coderbryphe-coder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM 👍

This modifies a prior migration which is typically forbidden,

Seems OK while we're marching towards black-triangle, and there is no production deployment at all yet

kylecarbs reacted with rocket emoji
@kylecarbskylecarbs merged commitb503c8b intomainJan 29, 2022
@kylecarbskylecarbs deleted the parameterschema branchJanuary 29, 2022 23:38
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@bryphe-coderbryphe-coderbryphe-coder approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@kylecarbskylecarbs

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@kylecarbs@bryphe-coder

[8]ページ先頭

©2009-2025 Movatter.jp