5de4054443 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1156  from citusdata/enable_deadlock_prevention  
							
							... 
							
							
							
							Add an enable_deadlock_prevention flag to enable transactions across nodes 
							
						 
						
							2017-01-22 22:06:54 +04:00  
				
					
						
							
							
								 
						
							
							
								ea855ddf86 
								
							
								 
							
						 
						
							
							
								
								Add an enable_deadlock_prevention flag to allow router transactions to expand to multiple nodes  
							
							
							
						 
						
							2017-01-22 17:31:24 +01:00  
				
					
						
							
							
								 
						
							
							
								1d710153d2 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1157  from citusdata/unique_job_id  
							
							... 
							
							
							
							Ensure job IDs are unique across workers 
							
						 
						
							2017-01-22 20:06:31 +04:00  
				
					
						
							
							
								 
						
							
							
								87ae26aef3 
								
							
								 
							
						 
						
							
							
								
								Ensure job IDs are unique across workers  
							
							
							
						 
						
							2017-01-22 16:55:14 +01:00  
				
					
						
							
							
								 
						
							
							
								4a84ee5512 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1155  from citusdata/feature/connection_cleanup  
							
							... 
							
							
							
							Remove parts of old connection / transaction infrastructure 
							
						 
						
							2017-01-21 09:11:31 -08:00  
				
					
						
							
							
								 
						
							
							
								78b085106a 
								
							
								 
							
						 
						
							
							
								
								Remove connection_cache.[ch].  
							
							
							
						 
						
							2017-01-21 09:01:15 -08:00  
				
					
						
							
							
								 
						
							
							
								6ec34bed84 
								
							
								 
							
						 
						
							
							
								
								Remove remnants of commit_protocol.[ch].  
							
							
							
						 
						
							2017-01-21 09:01:15 -08:00  
				
					
						
							
							
								 
						
							
							
								fd717d6da9 
								
							
								 
							
						 
						
							
							
								
								Consistently libpq forward declaration in remote_commands.h.  
							
							
							
						 
						
							2017-01-21 09:01:14 -08:00  
				
					
						
							
							
								 
						
							
							
								52c3369f79 
								
							
								 
							
						 
						
							
							
								
								Minimal citus tools conversion to new connection API.  
							
							
							
						 
						
							2017-01-21 09:01:14 -08:00  
				
					
						
							
							
								 
						
							
							
								92254ac6b2 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1148  from citusdata/fix_command_counter_increment  
							
							... 
							
							
							
							Improve heap access methods for upgrading to reference tables 
							
						 
						
							2017-01-21 09:33:13 +02:00  
				
					
						
							
							
								 
						
							
							
								594fa761e1 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into fix_command_counter_increment  
							
							
							
						 
						
							2017-01-21 09:21:19 +02:00  
				
					
						
							
							
								 
						
							
							
								5b58338ace 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1133  from citusdata/copy_with_new_connection_api  
							
							... 
							
							
							
							Convert multi_copy to new connection api 
							
						 
						
							2017-01-20 22:22:50 -08:00  
				
					
						
							
							
								 
						
							
							
								d76f781ae4 
								
							
								 
							
						 
						
							
							
								
								Convert multi copy to use new connection api  
							
							... 
							
							
							
							This enables proper transactional behaviour for copy and relaxes some
restrictions like combining COPY with single-row modifications. It
also provides the basis for relaxing restrictions further, and for
optionally allowing connection caching. 
							
						 
						
							2017-01-20 19:15:19 -08:00  
				
					
						
							
							
								 
						
							
							
								cc594e00ca 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1151  from citusdata/default_rep_factor_one  
							
							... 
							
							
							
							Change default replication factor to one
cr: @anarazel 
							
						 
						
							2017-01-20 19:11:02 -07:00  
				
					
						
							
							
								 
						
							
							
								4e7b23472c 
								
									
								
							
								 
							
						 
						
							
							
								
								Change default replication factor to one  
							
							... 
							
							
							
							Took the quick-and-dirty approach of changing it back to two during
test runs. Can update tests to expect one in due time. 
							
						 
						
							2017-01-20 18:56:43 -07:00  
				
					
						
							
							
								 
						
							
							
								ff7ca32bae 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1152  from citusdata/craig-readme-update  
							
							... 
							
							
							
							Suggest cloud in getting started section of README 
							
						 
						
							2017-01-20 16:51:04 -08:00  
				
					
						
							
							
								 
						
							
							
								8ccd5ca204 
								
									
								
							
								 
							
						 
						
							
							
								
								Suggest cloud in quickstart  
							
							... 
							
							
							
							Plus other updates 
							
						 
						
							2017-01-20 16:39:04 -08:00  
				
					
						
							
							
								 
						
							
							
								a296aca257 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1146  from citusdata/explain_duplication  
							
							... 
							
							
							
							Don't duplicate planner logic in multi_explain.c 
							
						 
						
							2017-01-20 13:58:48 -08:00  
				
					
						
							
							
								 
						
							
							
								3a36d32c43 
								
							
								 
							
						 
						
							
							
								
								Mark some now unnecessarily exposed multi_planner.c functions static.  
							
							
							
						 
						
							2017-01-20 12:31:56 -08:00  
				
					
						
							
							
								 
						
							
							
								608bed0387 
								
							
								 
							
						 
						
							
							
								
								Don't duplicate planning logic in citus' explain hook.  
							
							... 
							
							
							
							Instead use pg_plan_query() like the normal explain does, and use that
to explain the query.  That's important because it allows to remove
the duplicated planner logic from multi_explain - and that logic is
about to get more complicated. 
							
						 
						
							2017-01-20 12:31:28 -08:00  
				
					
						
							
							
								 
						
							
							
								0f28a11970 
								
							
								 
							
						 
						
							
							
								
								Remove citus.explain_multi_logical/physical_plan.  
							
							... 
							
							
							
							They make fixing explain for prepared statement harder, and they don't
really fit into EXPLAIN in the first place.  Additionally they're
currently not exercised in any tests. 
							
						 
						
							2017-01-20 12:31:19 -08:00  
				
					
						
							
							
								 
						
							
							
								bd825be340 
								
							
								 
							
						 
						
							
							
								
								Improve heap access methods  
							
							... 
							
							
							
							This commit improves heap access methods for reference table
upgrade and colocation group modifications. 
							
						 
						
							2017-01-20 14:53:29 +02:00  
				
					
						
							
							
								 
						
							
							
								ac7235bfaa 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1145  from citusdata/tenant_isolation_community  
							
							... 
							
							
							
							Tenant isolation 
							
						 
						
							2017-01-20 13:49:04 +02:00  
				
					
						
							
							
								 
						
							
							
								2bd8f8f12e 
								
							
								 
							
						 
						
							
							
								
								Add a function to delete shard metadata from MX nodes  
							
							
							
						 
						
							2017-01-20 14:38:01 +02:00  
				
					
						
							
							
								 
						
							
							
								93e626c896 
								
							
								 
							
						 
						
							
							
								
								Refactor get_shard_id_for_distribution_column() and other minor changes  
							
							
							
						 
						
							2017-01-20 14:38:01 +02:00  
				
					
						
							
							
								 
						
							
							
								ed77260aa1 
								
							
								 
							
						 
						
							
							
								
								Return a deep copy shard list from ColocatedShardIntervalList()  
							
							
							
						 
						
							2017-01-20 14:38:01 +02:00  
				
					
						
							
							
								 
						
							
							
								7cff8719c2 
								
							
								 
							
						 
						
							
							
								
								Add worker_hash() and a stub for isolate_tenant_to_new_shard()  
							
							
							
						 
						
							2017-01-20 14:38:01 +02:00  
				
					
						
							
							
								 
						
							
							
								46abe5b692 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1143  from citusdata/remove_hint_from_master_remove_node  
							
							... 
							
							
							
							Remove hint message from master_remove_node UDF
cr: @jasonmp85 
							
						 
						
							2017-01-18 22:43:47 -07:00  
				
					
						
							
							
								 
						
							
							
								c12bd7b75e 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove hint message from master_remove_node UDF  
							
							... 
							
							
							
							Hint about master_disable_node  was giving wrong
impression to users. Removal is better than keeping it. 
							
						 
						
							2017-01-18 22:33:00 -07:00  
				
					
						
							
							
								 
						
							
							
								c0f1a7609f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1103  from citusdata/mx/reference_table_support  
							
							... 
							
							
							
							MX Support for Reference Tables 
							
						 
						
							2017-01-18 17:15:12 +02:00  
				
					
						
							
							
								 
						
							
							
								4def1ca696 
								
							
								 
							
						 
						
							
							
								
								Prevent COPY to reference tables from worker nodes  
							
							
							
						 
						
							2017-01-18 17:38:01 +03:00  
				
					
						
							
							
								 
						
							
							
								e7c15ecc1f 
								
							
								 
							
						 
						
							
							
								
								Make `upgrade_to_reference_table` function MX-compatible  
							
							
							
						 
						
							2017-01-18 16:49:50 +03:00  
				
					
						
							
							
								 
						
							
							
								56ca590daa 
								
							
								 
							
						 
						
							
							
								
								Propagate metadata changes for deleted reference table placements on master_remove_node call  
							
							
							
						 
						
							2017-01-18 16:00:07 +03:00  
				
					
						
							
							
								 
						
							
							
								be78769ae4 
								
							
								 
							
						 
						
							
							
								
								Propagate new reference table placement metadata on `master_add_node`  
							
							
							
						 
						
							2017-01-18 15:59:06 +03:00  
				
					
						
							
							
								 
						
							
							
								23b2619412 
								
							
								 
							
						 
						
							
							
								
								Make reference table metadata synced to workers  
							
							
							
						 
						
							2017-01-18 15:59:05 +03:00  
				
					
						
							
							
								 
						
							
							
								e44d226221 
								
							
								 
							
						 
						
							
							
								
								Propagate Metadata to Workers on `create_reference_table` call.  
							
							
							
						 
						
							2017-01-18 11:05:24 +03:00  
				
					
						
							
							
								 
						
							
							
								2668160fe8 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1090  from citusdata/mx_sequences  
							
							... 
							
							
							
							Add Sequence Support For MX Tables 
							
						 
						
							2017-01-18 09:18:33 +02:00  
				
					
						
							
							
								 
						
							
							
								b686d9a025 
								
							
								 
							
						 
						
							
							
								
								Add Sequence Support for MX Tables  
							
							... 
							
							
							
							This change adds support for serial columns to be used with MX tables.
Prior to this change, sequences of serial columns were created in all
workers (for being able to create shards) but never used. With MX, we
need to set the sequences so that sequences in each worker create
unique values. This is done by setting the MINVALUE, MAXVALUE and
START values of the sequence. 
							
						 
						
							2017-01-18 09:43:38 +03:00  
				
					
						
							
							
								 
						
							
							
								b1ce8d61c0 
								
							
								 
							
						 
						
							
							
								
								Create Invalidation Trigger for pg_dist_local_group Table Updates  
							
							
							
						 
						
							2017-01-18 09:43:38 +03:00  
				
					
						
							
							
								 
						
							
							
								b9c4a4b378 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1139  from citusdata/fix-1138  
							
							... 
							
							
							
							Query placementId in RemoteFinalizedShardPlacementList(). 
							
						 
						
							2017-01-17 13:49:53 -08:00  
				
					
						
							
							
								 
						
							
							
								bdef35ac14 
								
							
								 
							
						 
						
							
							
								
								Query placementId in RemoteFinalizedShardPlacementList().  
							
							... 
							
							
							
							Not having the id in the ShardPlacement struct causes issues while
making copy use the placement aware connection management. 
							
						 
						
							2017-01-17 13:27:26 -08:00  
				
					
						
							
							
								 
						
							
							
								67ee357d7f 
								
							
								 
							
						 
						
							
							
								
								Port WorkerShardStats to new connection API  
							
							... 
							
							
							
							Part of the work in citusdata/citus#1101 , this is a pretty direct port
over to the new functions and shouldn't result in any behavior changes. 
							
						 
						
							2017-01-17 17:04:37 +02:00  
				
					
						
							
							
								 
						
							
							
								b1b2b4fadf 
								
							
								 
							
						 
						
							
							
								
								Create ExecuteOptionalRemoteCommand  
							
							... 
							
							
							
							A small refactor which pulls some code out of `RecoverWorkerTransactions`
and into `remote_commands.c`. This code block currently only occurs in
`RecoverWorkerTransactions` but will be useful to other functions
shortly.
Unfortunately we couldn't call it `ExecuteRemoteCommand`, that name was
already taken. 
							
						 
						
							2017-01-17 17:04:37 +02:00  
				
					
						
							
							
								 
						
							
							
								539a205462 
								
							
								 
							
						 
						
							
							
								
								Pass entire ShardPlacement into WorkerShardStats  
							
							... 
							
							
							
							A small refactor so we'll be able to call the new connection API (which
requires having a ShardPlacement) from within WorkerShardStats. 
							
						 
						
							2017-01-17 17:04:37 +02:00  
				
					
						
							
							
								 
						
							
							
								3ea73b7879 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1120  from citusdata/feature/colocation_mapping  
							
							... 
							
							
							
							Colocation aware placement connections 
							
						 
						
							2017-01-16 13:54:59 -08:00  
				
					
						
							
							
								 
						
							
							
								b9385700ee 
								
							
								 
							
						 
						
							
							
								
								Make placement_connection.c colocation aware.  
							
							... 
							
							
							
							Because of foreign keys and similar concerns there should only be a
single modifying/DDL connection for a set of colocated placements to a
node.  To enforce placement_connection.c now has an additional
hash-table keeping track of the connections to a set of colocated
placements.  In addition to enforcing per placement restrictions on
connections, there's now very similar restrictions for sets of
colocated placements. 
							
						 
						
							2017-01-16 13:47:01 -08:00  
				
					
						
							
							
								 
						
							
							
								6972186652 
								
							
								 
							
						 
						
							
							
								
								Add ShardPlacement fields required for colocated placement connection mapping.  
							
							
							
						 
						
							2017-01-16 13:42:54 -08:00  
				
					
						
							
							
								 
						
							
							
								1d79820b74 
								
							
								 
							
						 
						
							
							
								
								Fix use of wrong constant.  
							
							... 
							
							
							
							This could potentially lead to spuriously shared connections if the
first 63 characters of a hostname are the same. 
							
						 
						
							2017-01-16 13:42:53 -08:00  
				
					
						
							
							
								 
						
							
							
								4b1d37b7be 
								
							
								 
							
						 
						
							
							
								
								Remove fields used in earlier revisions of placement_connection.c.  
							
							
							
						 
						
							2017-01-16 13:42:53 -08:00  
				
					
						
							
							
								 
						
							
							
								d6ed47a7e6 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1085  from citusdata/improve_insert_select_error_messages  
							
							... 
							
							
							
							Improve error messages for INSERT INTO .. SELECT
cr: @jasonmp85 
							
						 
						
							2017-01-16 12:26:49 -07:00