Commit Graph

2021 Commits (c3c0d62ca62bb56b634b715ce4c15b283f3b128c)

Author SHA1 Message Date
Jason Petersen c3c0d62ca6
Add test showing poolinfo validation works
In other words, that it errors out.
2018-08-16 20:14:18 -06:00
Jason Petersen 900e88057c
Merge pull request #2341 from citusdata/disable_jit
Disable jit for now, make PG11 required

cr: @jasonmp85
2018-08-16 20:11:45 -06:00
Jason Petersen fd32c3590b
Mark PostgreSQL 11 builds as required
We will no longer accept regressions in our support for PostgreSQL 11.
2018-08-16 19:38:55 -06:00
Jason Petersen c4e2349b80
Mark failing PostgreSQL 11 test as ignored
This commit should be reverted once a new PostgreSQL 11 beta is
available: it's due to a bug in the partitioning code which has been
fixed in REL_11_STABLE but (not yet) a released tag.
2018-08-16 19:37:37 -06:00
Jason Petersen a2fb5a84f1
Disable JIT during PostgreSQL 11 test runs
It's causing problems with one of our tests.
2018-08-16 19:37:14 -06:00
Jason Petersen 54789d6896
Merge pull request #2324 from citusdata/test/pg11-compatibility
make tests pass on pg 11 again

cr: @jasonmp85
2018-08-15 23:52:47 -06:00
Nils Dijk 6cf4516fdb
fix \d change for indexes in pg11 2018-08-15 23:27:31 -06:00
Nils Dijk 2a9d47e1a6
fix pg11 tests 2018-08-15 23:27:31 -06:00
Mehmet Furkan ŞAHİN 3f0317dfb8
Merge pull request #2327 from citusdata/master_disable-activate_node_with_superuser
Make master_disable/activate_node runnable when superuser
2018-08-15 01:09:09 -07:00
mehmet furkan şahin 1a3b9f731e Make master_disable/activate_node runnable when superuser 2018-08-15 00:43:35 -07:00
Önder Kalacı 904e1781fa
Merge pull request #2335 from citusdata/fix_mx_schema
Fix DDL execution bug on MX when search_path is used
2018-08-13 19:52:21 +03:00
Onder Kalaci 85d418412d Fix DDL execution problem on MX when search_path is used
Make sure that the coordinator sends the commands when the search
path synchronised with the coordinator's search_path. This is only
important when Citus sends the commands that are directly relayed
to the worker nodes. For example, the deparsed DLL commands or
queries always adds schema qualifications to the queries. So, they
do not require this change.
2018-08-13 16:34:50 +03:00
Burak Velioglu 537d80abdb
Merge pull request #2279 from citusdata/add_create_dist_table_failure
Add create_distributed_table (without data) failure tests
2018-08-13 10:25:55 +03:00
velioglu 44fc9f46fc Add create_distributed_table (without data) failure tests 2018-08-13 09:31:15 +03:00
Önder Kalacı 3fa04d8f2c
Merge pull request #2323 from citusdata/shards_go_behind_schema
Alternative approach for hiding shards on the MX workers for better UX
2018-08-07 16:24:36 +03:00
Onder Kalaci 974cbf11a5 Hide shard names on MX worker nodes
This commit by default enables hiding shard names on MX workers
by simple replacing `pg_table_is_visible()` calls with
`citus_table_is_visible()` calls on the MX worker nodes. The latter
function filters out tables that are known to be shards.

The main motivation of this change is a better UX. The functionality
can be opted out via a GUC.

We also added two views, namely citus_shards_on_worker and
citus_shard_indexes_on_worker such that users can query
them to see the shards and their corresponding indexes.

We also added debug messages such that the filtered tables can
be interactively seen by setting the level to DEBUG1.
2018-08-07 14:21:45 +03:00
Onder Kalaci e13da6a343 Add infrastructure to hide shards on MX worker nodes
Add ability to understand whether a table is a
known shard on MX workers. Note that this is only useful
and applicable for hiding shards on MX worker nodes given
that we can have metadata only there.
2018-08-04 09:03:37 +03:00
Mehmet Furkan ŞAHİN 28fd63bee2
Merge pull request #2280 from citusdata/failure-create_distributed_table-non-empty
Add create_distributed_table (with data) failure tests
2018-08-03 12:55:04 -07:00
mehmet furkan şahin c1f7631f98 failure tests on create_distributed_table nonempty 2018-08-03 12:41:25 -07:00
Burak Velioglu dc55498f80
Merge pull request #2281 from citusdata/add_create_reference_table
Add create_reference_table failure tests
2018-08-03 18:22:08 +03:00
velioglu b21bd2d1a0 Add create_reference_table failure tests 2018-08-03 17:49:57 +03:00
Burak Velioglu 74ee7492ee
Merge pull request #2273 from citusdata/add_hash_copy_failure
Add failure test for copy on hash distributed table
2018-08-03 17:41:29 +03:00
velioglu bc27651dd9 Add failure test for copy on hash distributed table 2018-08-03 17:11:09 +03:00
Brian Cloutier 82fa85fa5b
Add tests for 1PC COPY on append and hash-distributed tables
Add tests for 1PC COPY on append and hash-distributed tables
2018-07-31 15:17:59 -07:00
Brian Cloutier f0f7a691a3
Prevent failure tests from hanging by using a port outside the ephemeral port range
- mitmdump now listens on port 9060
- Add some logging to fluent.py, making issues like this easier to debug in the future
- Fail the tests if something is already running on the port mitmProxy tries to use
- check-failure now works with VPATH builds
2018-07-31 14:30:56 -07:00
Mehmet Furkan ŞAHİN 6ac0434cf3
Merge pull request #2278 from citusdata/failure-copy-reference
Adds failure tests for COPY to reference table
2018-07-30 14:40:22 +03:00
mehmet furkan şahin dde86cb731 Copy to reference table failure tests are added 2018-07-30 11:48:12 +03:00
Mehmet Furkan ŞAHİN 39cc54b4b5
Merge pull request #2316 from citusdata/citus-7.4.2-changelog-1532690856
Add changelog entry for 7.4.2
2018-07-27 15:36:51 +03:00
mehmet furkan şahin 2350eaa4c1 Add changelog entry for 7.4.2 2018-07-27 15:06:55 +03:00
Mehmet Furkan ŞAHİN 50cb434377
Merge pull request #2315 from citusdata/version-8.0-bump-fix
Citus versioning fix to 8.0devel
2018-07-26 17:29:00 +03:00
mehmet furkan şahin bc757845eb Citus versioning fix 2018-07-26 10:56:34 +03:00
Brian Cloutier ace248d13c Remove unnecessary calls to 'conn.allow()' 2018-07-25 17:45:00 -07:00
Mehmet Furkan ŞAHİN 28d572cc00
Merge pull request #2311 from citusdata/master-update-version-1532507443
Bump Citus to 8.0devel
2018-07-25 12:27:14 +03:00
mehmet furkan şahin 887aa8150d Bump citus version to 8.0devel 2018-07-25 12:03:47 +03:00
Mehmet Furkan ŞAHİN 1e95f5dc93
Merge pull request #2310 from citusdata/citus-7.5.0-changelog-1532467475
Bump citus to 7.5.0
2018-07-25 11:25:53 +03:00
mehmet furkan şahin c7203c3c9a Add changelog entry for 7.5.0 2018-07-25 11:06:40 +03:00
Mehmet Furkan ŞAHİN 854e49101c
Merge pull request #2296 from citusdata/add_column_fkey_fix
ALTER TABLE %s ADD COLUMN %s [constraint] constraint checks are implemented
2018-07-24 16:06:29 +03:00
velioglu e23625bf5e Use contype to check for FK constraint instead of reading catalog table 2018-07-24 15:53:05 +03:00
mehmet furkan şahin 6d0fbbace7 ALTER TABLE %s ADD COLUMN constraint check is added 2018-07-24 15:53:05 +03:00
Jason Petersen 21114620a3
Merge pull request #2299 from citusdata/fix_real_time
Don't try to check unopened connection in EXEC_TASK_FAILED state

cr: @jasonmp85
2018-07-23 12:12:49 -06:00
Marco Slot 625816242a
Don't try to check unopened connection in EXEC_TASK_FAILED state 2018-07-23 11:41:02 -06:00
Nils Dijk 6ae5fcd6c9
Merge pull request #2297 from citusdata/fix/insert-select-onconflict
Fix insert ... select on conflict that allowed updates of distribution column
2018-07-23 16:19:46 +02:00
Nils Dijk 2d13900230
error on unsupported changing of distirbution column in ON CONFLICT for INSERT ... SELECT 2018-07-23 15:18:21 +02:00
Nils Dijk 6a15e1c9fc
extract ErrorIfOnConflictNotSupported function for reuse 2018-07-23 12:20:10 +02:00
Nils Dijk 5b02e139e7
Merge pull request #2298 from citusdata/fix/error-msg-tablein
fix missing space for tablein in error
2018-07-23 12:18:40 +02:00
Nils Dijk df98900f80
fix missing space for tablein in error 2018-07-20 15:05:13 +02:00
Marco Slot 29edbae152
Merge pull request #2275 from citusdata/fix_user
Ensure we create shards as the shard owner
2018-07-19 19:38:11 +02:00
Marco Slot 69a3ebea5f Ensure StartPlacementListConnection connects with username supplied by the caller 2018-07-19 20:10:11 +02:00
Marco Slot 1485945f27
Delete pull_request_template.md 2018-07-19 15:38:43 +02:00
Murat Tuncer 2e62dafd3c
Merge pull request #2277 from citusdata/mt_failure_add_node
Added failure test add/disable/inactive nodes
2018-07-13 18:22:02 +03:00