Burak Velioglu
596e49db8c
Citus Indent
2021-12-31 13:16:30 +03:00
Burak Velioglu
3c1361dd4d
Move detach partition command list
2021-12-31 13:08:00 +03:00
Burak Velioglu
848d13f6eb
Changes depending on the discussion
2021-12-30 14:38:31 +03:00
Burak Velioglu
a348b6b097
Comment out failing test
2021-12-28 16:28:28 +03:00
Burak Velioglu
cc68e87903
Citus indent
2021-12-28 12:48:20 +03:00
Burak Velioglu
e610a147a1
Remove unnecessary comments on tests
2021-12-28 11:37:02 +03:00
Burak Velioglu
d912cd9a9b
Update todos
2021-12-28 11:27:12 +03:00
Burak Velioglu
cfe3f97faf
Create shell always for dist and reference table
2021-12-28 11:08:27 +03:00
Burak Velioglu
d18525a906
Create shell always for local table
2021-12-28 10:58:35 +03:00
Burak Velioglu
416196b9be
Unmark dropped tabled on worker
2021-12-28 10:52:31 +03:00
Burak Velioglu
880533a609
Divide object and metadata handling
2021-12-27 18:14:51 +03:00
Burak Velioglu
6598a23963
Dependency update
2021-12-23 17:46:37 +03:00
Burak Velioglu
48c5ce8960
Dist table refactor
2021-12-23 00:16:38 +03:00
Burak Velioglu
a448ca01bc
Add TODOs
2021-12-22 21:40:04 +03:00
Burak Velioglu
6705f0c612
Undistributed removed sequences while undistributing table
2021-12-22 20:26:02 +03:00
Burak Velioglu
81a6cb47d6
Merge branch 'master' into velioglu/table_wo_seq_prototype
2021-12-22 11:24:40 +03:00
Burak Velioglu
d66f1243bf
Object distribution change
2021-12-22 11:19:34 +03:00
Burak Velioglu
9fe1c9646d
Uncomment test
2021-12-21 22:31:45 +03:00
Burak Velioglu
50f52101b8
Remove metadata object from ref table prop
2021-12-21 22:27:36 +03:00
Burak Velioglu
9fec89d70b
Citus_disable_node
2021-12-21 21:36:32 +03:00
Ahmet Gedemenli
d5a969b055
Merge pull request #5540 from citusdata/fix-function-signature-generation
...
Fix function signature generation
2021-12-21 19:25:41 +03:00
Ahmet Gedemenli
8e4ff34a2e
Do not include return table params in the function arg list
...
(cherry picked from commit 90928cfd74
)
Fix function signature generation
Fix comment typo
Add test for worker_create_or_replace_object
Add test for recreating distributed functions with OUT/TABLE params
Add test for recreating distributed function that returns setof int
Fix test output
Fix comment
2021-12-21 19:01:42 +03:00
Burak Velioglu
2e61c3e6b8
Add todos
2021-12-20 15:44:01 +03:00
Burak Velioglu
ab29b939b2
Indentation fix
2021-12-20 12:39:03 +03:00
Burak Velioglu
303c7e230e
Ensure dependency craetion on for adding/activating node
2021-12-20 12:28:43 +03:00
Burak Velioglu
b9d1ab38af
Move shell table creation out
2021-12-18 21:28:24 +03:00
Burak Velioglu
3d828bc7b6
Sync metadata first before propagating any
2021-12-18 20:25:09 +03:00
Marco Slot
80f41e94c0
Merge pull request #4945 from citusdata/marcocitus/set-transaction
2021-12-18 11:38:37 +01:00
Marco Slot
2eef71ccab
Propagate SET TRANSACTION commands
2021-12-18 11:31:39 +01:00
Halil Ozan Akgül
2108410a40
Merge pull request #5535 from citusdata/turn_metadata_sync_on_in_add_corrdinator
...
Turn metadata sync on in add_coordinator, foreign_key_to_reference_ta…
2021-12-17 18:05:43 +03:00
Burak Velioglu
f66b1d5116
Fix list creation
2021-12-17 17:17:49 +03:00
Halil Ozan Akgul
46f718c76d
Turn metadata sync on in add_coordinator, foreign_key_to_reference_table and replicate_reference_tables_to_coordinator
2021-12-17 16:33:25 +03:00
Halil Ozan Akgül
c3195f75a5
Merge pull request #5545 from citusdata/turn_ddl_propagation_off_on_multi_copy
...
Turn ddl propagation off in worker on multi_copy
2021-12-17 16:29:13 +03:00
Halil Ozan Akgul
25755a7094
Turn ddl propagation off in worker on multi_copy
2021-12-17 15:54:20 +03:00
Önder Kalacı
695653911a
Merge pull request #4634 from citusdata/citus_grep_command
...
Grep Remote/Local commands
2021-12-17 12:07:45 +01:00
Onder Kalaci
fc98f83af2
Add citus.grep_remote_commands
...
Simply applies
```SQL
SELECT textlike(command, citus.grep_remote_commands)
```
And, if returns true, the command is logged. Else, the log is ignored.
When citus.grep_remote_commands is empty string, all commands are
logged.
2021-12-17 11:47:40 +01:00
Halil Ozan Akgül
5b1a25ae7c
Merge pull request #5544 from citusdata/turn_metadata_sync_on_in_multi_replicate_reference_table
...
Turn metadata sync on in multi_replicate_reference_table and multi_citus_tools
2021-12-17 11:04:41 +03:00
Halil Ozan Akgul
df8d0f3db1
Turn metadata sync on in multi_replicate_reference_table and multi_citus_tools
2021-12-17 10:25:57 +03:00
Onur Tirtir
cc4c83b1e5
HAVE_LZ4 -> HAVE_CITUS_LZ4 ( #5541 )
2021-12-16 16:21:52 +03:00
Burak Velioglu
3636b7c9c5
Start handling local tables
2021-12-16 14:57:46 +03:00
Talha Nisanci
c0945d88de
Normalize a debug failure to WARNING failure ( #4996 )
2021-12-16 13:43:49 +03:00
Halil Ozan Akgül
7d0f4f11c3
Merge pull request #5537 from citusdata/turn_metadata_sync_on_in_mx_regular_user
...
Turn metadata sync on in mx_regular_user and remove_coordinator
2021-12-16 11:35:08 +03:00
Halil Ozan Akgul
8943d7b52f
Turn metadata sync on in mx_regular_user and remove_coordinator
2021-12-16 11:26:24 +03:00
Halil Ozan Akgül
047ae2cad0
Merge pull request #5534 from citusdata/turn_metadata_sync_on_in_multi_unsupported_worker_operations
...
Turn metadata sync on in multi_size_queries, multi_drop_extension and multi_unsupported_worker_operations
2021-12-16 11:25:19 +03:00
Halil Ozan Akgul
b82af4db3b
Turn metadata sync on in multi_size_queries, multi_drop_extension and multi_unsupported_worker_operations
2021-12-16 11:10:54 +03:00
Hanefi Onaldi
9d4d73898a
Move healthcheck logic into new file ( #5531 )
...
and add a missing `CheckCitusVersion(ERROR)` call
2021-12-15 15:58:20 -08:00
Burak Velioglu
a6cdd43d42
Fix metadata changes and use same connection for all
2021-12-16 00:04:53 +03:00
Hanefi Onaldi
acdcd9422c
Fix one flaky failure test ( #5528 )
...
Removes flaky test
2021-12-15 18:59:58 +03:00
Burak Velioglu
fea68a43ad
Start moving table dependent metadata
2021-12-15 18:04:59 +03:00
Hanefi Onaldi
29e4516642
Introduce citus_check_cluster_node_health UDF
...
This UDF coordinates connectivity checks accross the whole cluster.
This UDF gets the list of active readable nodes in the cluster, and
coordinates all connectivity checks in sequential order.
The algorithm is:
for sourceNode in activeReadableWorkerList:
c = connectToNode(sourceNode)
for targetNode in activeReadableWorkerList:
result = c.execute(
"SELECT citus_check_connection_to_node(targetNode.name,
targetNode.port")
emit sourceNode.name,
sourceNode.port,
targetNode.name,
targetNode.port,
result
- result -> true -> connection attempt from source to target succeeded
- result -> false -> connection attempt from source to target failed
- result -> NULL -> connection attempt from the current node to source node failed
I suggest you use the following query to get an overview on the connectivity:
SELECT bool_and(COALESCE(result, false))
FROM citus_check_cluster_node_health();
Whenever this query returns false, there is a connectivity issue, check in detail.
2021-12-15 01:41:51 +03:00