Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion doc/user/data/examples/create_cluster.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: "syntax"
code: |
CREATE CLUSTER <cluster_name> (
CREATE CLUSTER [IF NOT EXISTS] <cluster_name> (
SIZE = <text>
[, REPLICATION FACTOR = <int>]
[, MANAGED = <bool>]
Expand All @@ -12,6 +12,12 @@
)]
);
syntax_elements:
- name: "**IF NOT EXISTS**"
description: |
*Optional.* If specified, do not throw an error if a cluster with the
same name already exists. Instead, issue a notice and skip the cluster
creation. Note that the existing cluster is left untouched, its
configuration is not updated to match the statement.
- name: "`<cluster_name>`"
description: |
A name for the cluster.
Expand Down
8 changes: 7 additions & 1 deletion doc/user/data/examples/create_cluster_replica.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
- name: "syntax"
code: |
CREATE CLUSTER REPLICA <cluster_name>.<replica_name> (
CREATE CLUSTER REPLICA [IF NOT EXISTS] <cluster_name>.<replica_name> (
SIZE = <text>
);
syntax_elements:
- name: "**IF NOT EXISTS**"
description: |
*Optional.* If specified, do not throw an error if a replica with the
same name already exists on the cluster. Instead, issue a notice and
skip the replica creation. Note that the existing replica is left
untouched, its configuration is not updated to match the statement.
- name: "`<cluster_name>`"
description: |
The cluster you want to attach a replica to.
Expand Down
2 changes: 2 additions & 0 deletions src/adapter/src/coord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ pub enum Message {
responses: Vec<crate::util::CompletedClientTransmitter>,
/// Statement executions associated with this commit.
statement_logging_ids: Vec<StatementLoggingId>,
/// Frontend-sequenced writes to complete after local timestamp bookkeeping.
internal_results: Vec<crate::coord::appends::InternalWriteResponder>,
/// The applied write timestamp.
write_ts: Timestamp,
},
Expand Down
Loading
Loading