You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developers/operations-api/clustering.md
+21-18Lines changed: 21 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,33 +128,36 @@ _Operation is restricted to super_user roles only_
128
128
"type": "cluster-status",
129
129
"connections": [
130
130
{
131
-
"url": "wss://server-two:9925",
132
-
"subscriptions": [
133
-
{
134
-
"schema": "dev",
135
-
"table": "my-table",
136
-
"publish": true,
137
-
"subscribe": true
138
-
}
139
-
],
140
-
"name": "server-two",
131
+
"replicateByDefault": true,
132
+
"replicates": true,
133
+
"url": "wss://server-2.domain.com:9933",
134
+
"name": "server-2.domain.com",
135
+
"subscriptions": null,
141
136
"database_sockets": [
142
137
{
143
-
"database": "dev",
138
+
"database": "data",
144
139
"connected": true,
145
-
"latency": 0.84197798371315,
146
-
"threadId": 1,
140
+
"latency": 0.70,
141
+
"thread_id": 1,
147
142
"nodes": [
148
-
"server-two"
149
-
]
150
-
}
151
-
]
143
+
"server-2.domain.com"
144
+
],
145
+
"lastCommitConfirmed": "Wed, 12 Feb 2025 19:09:34 GMT",
146
+
"lastReceivedRemoteTime": "Wed, 12 Feb 2025 16:49:29 GMT",
147
+
"lastReceivedLocalTime": "Wed, 12 Feb 2025 16:50:59 GMT",
148
+
"lastSendTime": "Wed, 12 Feb 2025 16:50:59 GMT"
149
+
},
152
150
}
153
151
],
154
-
"node_name": "server-one",
152
+
"node_name": "server-1.domain.com",
155
153
"is_enabled": true
156
154
}
157
155
```
156
+
There is a separate socket for each database for each node. Each node is represented in the connections array, and each database connection to that node is represented in the `database_sockets` array. Additional timing statistics include:
157
+
* `lastCommitConfirmed`: When a commit is sent out, it should receive a confirmation from the remote server; this is the last receipt of confirmation of an outgoing commit.
158
+
* `lastReceivedRemoteTime`: This is the timestamp of the transaction that was last received. The timestamp is from when the original transaction occurred.
159
+
* `lastReceivedLocalTime`: This is local time when the last transaction was received. If there is a different between this and `lastReceivedRemoteTime`, it means there is a delay from the original transaction to * receiving it and so it is probably catching-up/behind.
160
+
* `sendingMessage`: The timestamp of transaction is actively being sent. This won't exist if the replicator is waiting for the next transaction to send.
Copy file name to clipboardExpand all lines: docs/technical-details/release-notes/4.tucker/4.5.0.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,4 +16,10 @@
16
16
4.5 includes numerous new analytics for resources and storage, including page faults, context switches, free space, disk usage, and other metrics.
17
17
18
18
#### Default Replication Port
19
-
The default port for replication has been changed from 9925 to 9933.
19
+
The default port for replication has been changed from 9925 to 9933.
20
+
21
+
### Property Forwarding
22
+
Accessing record properties from resource instances should be accessible through standard property access syntax, regardless of whether the property was declared in a schema. Previously only properties declared in a schema were accessible through standard property access syntax. This change allows for more consistent and intuitive access to record properties, regardless of how they were defined. It is still recommended to declare properties in a schema for better performance and documentation.
23
+
24
+
### Cluster Status Information
25
+
The `cluster_status` operation now includes new statistics for replication, including the timestamps of last received transactions, sent transactions, and committed transactions.
0 commit comments