Commit Graph

2442 Commits (1553e12ee4e5d58120b99192a91c37e031bbbe0c)

Author SHA1 Message Date
Onder Kalaci 1553e12ee4 Add order by to multi_subquery_complex_reference_clause 2019-05-28 12:06:57 +02:00
Hadi Moshayedi d4dbe8f008
Merge pull request #2732 from citusdata/fix_a_typo
Fix a typo: WITH CARDINALITY -> WITH ORDINALITY
2019-05-24 15:58:31 -07:00
Hadi Moshayedi 23207a43e0 Fix a typo: WITH CARDINALITY -> WITH ORDINALITY 2019-05-24 15:49:17 -07:00
Demur Rumed aa74eea955
Merge pull request #2726 from citusdata/fix_2548_alterforeign
Propagate more ALTER FOREIGN TABLE commands to workers
2019-05-24 19:59:09 +00:00
Philip Dubé b8871d9ff4 Propagate more ALTER FOREIGN TABLE to workers 2019-05-24 12:54:05 -07:00
Marco Slot dff1a8db08
Merge pull request #2725 from citusdata/deprecate_mmms
Deprecate master_modify_multiple_shards
2019-05-24 14:33:49 +02:00
Marco Slot b3fcf2a48f Deprecate master_modify_multiple_shards 2019-05-24 15:22:06 +02:00
Marco Slot 7a2e3124f7
Merge pull request #2724 from citusdata/truncate_cleanup
Stop using master_modify_multiple_shards in TRUNCATE
2019-05-24 13:47:01 +02:00
Marco Slot 7fa5d36057 Stop using master_modify_multiple_shards in TRUNCATE 2019-05-24 14:35:46 +02:00
exialin 59e54de54d Minor code clean-up 2019-05-24 14:26:26 +02:00
Hanefi Onaldi b31fbcb28d
Merge pull request #2723 from citusdata/simplify-round-robin-on-router-queries
Simplify round robin logic on router queries
2019-05-24 14:24:05 +03:00
Hanefi Onaldi 7443191397
Improve tests for round robin & router queries 2019-05-24 14:16:56 +03:00
Hanefi Onaldi 4d737177e6
Remove redundant active placement filters and unneded sort operations
If a query is router executable, it hits a single shard and therefore has a
single task associated with it. Therefore there is no need to sort the task list
that has a single element.

Also we already have a list of active shard placements, sending it in param
and reuse it.
2019-05-24 14:16:50 +03:00
Hanefi Onaldi b935dfb8c8
Cleanup deleted function declaration 2019-05-24 14:04:26 +03:00
Demur Rumed af16ed7308
Merge pull request #2727 from citusdata/spellcheck
Fix misc typos (2)
2019-05-24 00:36:23 +00:00
Philip Dubé 16886b3c63 Fix misc typos 2019-05-23 17:23:27 -07:00
Önder Kalacı 178142fe01
Merge pull request #2721 from citusdata/fix_test_2pc
Fix wrong transaction recovery test output
2019-05-22 08:39:46 +02:00
Onder Kalaci f1a80a609f Fix wrong test output
If replication factor eqauls to 2 and there are two worker nodes,
even if two modifications hit different shards, Citus doesn't use
2PC. The reason is that it doesn't fit into the definition of
"expanding participating worker nodes".

Thus, we're simply fixing the test to fit in the comment
on top of it.
2019-05-21 19:12:37 +03:00
Hadi Moshayedi 56708efc87
Merge pull request #2719 from citusdata/fix_some_comments
Fix comments for RemoteFileDestReceiverStartup and CitusCopyDestReceiverStartup
2019-05-21 08:08:34 -08:00
Hadi Moshayedi 8ae47e1244 Fix comments for RemoteFileDestReceiverStartup and CitusCopyDestReceiverStartup 2019-05-21 09:03:22 -07:00
Önder Kalacı 21f772030f
Merge pull request #2720 from citusdata/order_by_fix_8
Make sure that the regression tests are resistant to execution order changes
2019-05-21 15:00:13 +02:00
Onder Kalaci f76abfe470 Add ORDER BY to multi_router_planner 2019-05-21 15:54:33 +03:00
Onder Kalaci f06a79563d Add ORDER BY to multi_foreign_key 2019-05-21 15:54:03 +03:00
Hadi Moshayedi 332ccbf8c1
Merge pull request #2718 from citusdata/fix_include
Fix an include in recusive_planning.c
2019-05-20 18:01:56 -08:00
Hadi Moshayedi dce9260c0e Fix an include in recusive_planning.c 2019-05-20 18:57:03 -07:00
Murat Tuncer e29bc808b7
Merge pull request #2703 from citusdata/fix_dist_table_cache_initialization
Fix DistShardCacheHash initialization
2019-05-15 16:57:01 +03:00
Murat Tuncer 3fe482adbc Fix DistShardCacheHash initialization
InitializeCaches() method may prematurely set
performedInitialization without actually creating
DistShardCacheHash.

Fix makes sure flag is set only if DistShardCacheHash is created successfully.

Also introduced a new memory context to allocate aforementioned hash tables.
If allocation/initialization fails for any reason we make sure
memory is reclaimed by deleting the memory context.
2019-05-15 16:47:44 +03:00
Hanefi Onaldi 986ef6651a
Merge pull request #2707 from citusdata/correct_anchor_shardids_on_round_robin
Prevent anchoring reference table shard ids when distributed tables are in join clauses
2019-05-15 09:31:24 +03:00
Hanefi Onaldi 4030d603eb
Merge pull request #2691 from citusdata/update_changelog
Add 8.1.2 and 8.2.1 changelog entries
2019-05-15 09:18:58 +03:00
Hadi Moshayedi 1b4dc44996
Merge pull request #2706 from citusdata/simplify_EndRemoteCopy
Remove stopOnFailure flag from EndRemoteCopy()
2019-05-13 12:51:15 -08:00
Hadi Moshayedi b5c0ca45f1 Remove stopOnFailure flag from EndRemoteCopy() 2019-05-11 06:18:34 -07:00
Hadi Moshayedi 39e806c276
Merge pull request #2701 from citusdata/fix_warnings
Fix mixed declarations and code warnings
2019-05-08 11:56:10 -08:00
Hadi Moshayedi e584961267 Fix mixed declarations and code warnings 2019-05-08 12:51:40 -07:00
Hanefi Onaldi f7081f3119
Merge pull request #2691 from citusdata/update_changelog
Add 8.1.2 and 8.2.1 changelog entries
2019-05-07 09:42:51 +03:00
velioglu b6bbee2cac
Add 8.1.2 and 8.2.1 changelog entries 2019-05-07 09:09:47 +03:00
Claire Giordano ce53671616
Merge pull request #2699 from citusdata/may-readme
Updates to README.md on May 6th
2019-05-06 08:30:55 -07:00
Claire Giordano c429bc4ced
updated Agari & MixRank user story links 2019-05-06 00:53:38 -07:00
Claire Giordano 61bda2a9e4
fix typo 2019-05-06 00:49:56 -07:00
Claire Giordano 076a9a3232
Updated descr, use case, customer, & get started 2019-05-06 00:47:20 -07:00
Önder Kalacı 53d0dcd659
Merge pull request #2696 from citusdata/order_by_fix_7
Add some more ORDER BYs
2019-05-02 19:15:31 +02:00
Onder Kalaci 5d68a13139 Add order by to multi_shard_update_delete 2019-05-02 20:09:33 +03:00
Onder Kalaci 2c76b4bc46 Add order by to multi_function_in_join test 2019-05-02 20:05:25 +03:00
Önder Kalacı febe412108
Merge pull request #2688 from citusdata/unify_fkey_to_ref_recording
Refactor Parallel Relation Access Recording
2019-05-02 17:19:06 +02:00
Onder Kalaci 495b6e9b62 Refactor Parallel Relation Access Recording
Instead of scattering the code around, we move all the
logic into a single function.

This will help supporting foreign keys to reference tables
in the unified executor with a single line of change, just
calling this function.
2019-05-02 18:12:33 +03:00
Önder Kalacı 2f55d61800
Merge pull request #2695 from citusdata/order_by_fix_6
Add some ORDER BYs to make the test output consistent
2019-05-02 17:11:47 +02:00
Onder Kalaci 3d871c5334 Add some ORDER BYs to make the test output consistent 2019-05-02 18:00:46 +03:00
Hadi Moshayedi 5205bc4be9
Merge pull request #2673 from citusdata/fix_multishard_transactions
Fix savepoint rollback after multi-shard modify/copy failure.
2019-05-01 08:38:25 -08:00
Hadi Moshayedi 32ecb6884c Test ROLLBACK TO SAVEPOINT with multi-shard CTE failures 2019-05-01 09:33:43 -07:00
Hadi Moshayedi aafd22dffa Fix savepoint rollback for INSERT INTO ... SELECT. 2019-05-01 09:33:43 -07:00
Hadi Moshayedi b69a762e0b Fix savepoint rollback after multi-shard update failure. 2019-05-01 09:33:43 -07:00