Skip to content

Commit

Permalink
Merge #51562 #51896
Browse files Browse the repository at this point in the history
51562:  backupccl: add RestoreData processor r=dt a=pbardea

This commit adds a processor which actually performs the ImportRequest.
It has an input which accepts rows with 2 columns that should be sent
from SplitAndScatter processors. Each row represents one span that the
processor should ingest. The intention is that the spans direcected to a
processor on a given node have their leaseholder colocated on the same
node (this work is done in the SplitAndScatter processor). All that
remains is to send a request to ingest the data and stream back its
progress to the coordinator upon completion.

Part of #40239.

Release note: None

51896:  builkio: Add schedule control statements.  r=miretskiy a=miretskiy

Informs #51600 

Introduce schedule control statements responsible for
managing scheduled jobs.

```
PAUSE SCHEDULE 123
PAUSE SCHEDULES SELECT ...

RESUME SCHEDULES SELECT schedule_id FROM system.schedules_jobs ...

DROP SCHEDULE 123
```

Release Notes (enterprise): Implement schedule control statements
to pause, resume, or delete scheduled jobs.

Co-authored-by: Paul Bardea <[email protected]>
Co-authored-by: Yevgeniy Miretskiy <[email protected]>
  • Loading branch information
3 people committed Jul 27, 2020
3 parents 8667015 + 9045bfe + 3a2fe46 commit 2c6d0d2
Show file tree
Hide file tree
Showing 41 changed files with 2,222 additions and 721 deletions.
1 change: 1 addition & 0 deletions docs/generated/sql/bnf/drop_stmt.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ drop_stmt ::=
| drop_sequence_stmt
| drop_type_stmt
| drop_role_stmt
| drop_schedule_stmt
2 changes: 1 addition & 1 deletion docs/generated/sql/bnf/pause_job.bnf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pause_stmt ::=
pause_jobs_stmt ::=
'PAUSE' 'JOB' job_id
| 'PAUSE' 'JOBS' select_stmt
4 changes: 4 additions & 0 deletions docs/generated/sql/bnf/pause_schedule.bnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pause_schedules_stmt ::=
'PAUSE' 'SCHEDULE' schedule_id
| 'PAUSE' 'SCHEDULES' select_stmt
| with_clause 'PAUSE' 'SCHEDULES'
2 changes: 1 addition & 1 deletion docs/generated/sql/bnf/resume_job.bnf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resume_stmt ::=
resume_jobs_stmt ::=
'RESUME' 'JOB' job_id
| 'RESUME' 'JOBS' select_stmt
3 changes: 3 additions & 0 deletions docs/generated/sql/bnf/resume_schedule.bnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resume_schedules_stmt ::=
'RESUME' 'SCHEDULE' schedule_id
| 'RESUME' 'SCHEDULES' select_stmt
Loading

0 comments on commit 2c6d0d2

Please sign in to comment.