mirror of https://github.com/citusdata/citus.git
Citus Indent
parent
3c1361dd4d
commit
596e49db8c
|
@ -540,8 +540,8 @@ CreateDistributedTable(Oid relationId, Var *distributionColumn, char distributio
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// sync etmedigimizi ignore ediyoruz commenti, ozellikle append dist tablolar icin
|
/* sync etmedigimizi ignore ediyoruz commenti, ozellikle append dist tablolar icin */
|
||||||
// backward compatible olarak calisacak, sync de yapsak gitmicek
|
/* backward compatible olarak calisacak, sync de yapsak gitmicek */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -607,7 +607,7 @@ EnsureSequenceTypeSupported(Oid seqOid, Oid seqTypId, Oid ownerRelationId)
|
||||||
{
|
{
|
||||||
List *citusTableIdList = CitusTableTypeIdList(ANY_CITUS_TABLE_TYPE);
|
List *citusTableIdList = CitusTableTypeIdList(ANY_CITUS_TABLE_TYPE);
|
||||||
citusTableIdList = lappend_oid(citusTableIdList, ownerRelationId);
|
citusTableIdList = lappend_oid(citusTableIdList, ownerRelationId);
|
||||||
|
|
||||||
Oid citusTableId = InvalidOid;
|
Oid citusTableId = InvalidOid;
|
||||||
foreach_oid(citusTableId, citusTableIdList)
|
foreach_oid(citusTableId, citusTableIdList)
|
||||||
{
|
{
|
||||||
|
|
|
@ -825,7 +825,7 @@ ClearDistributedTablesFromNode(WorkerNode *workerNode)
|
||||||
List *detachPartitionCommandList = DetachPartitionCommandList();
|
List *detachPartitionCommandList = DetachPartitionCommandList();
|
||||||
|
|
||||||
clearDistributedTablesCommandList = list_concat(clearDistributedTablesCommandList,
|
clearDistributedTablesCommandList = list_concat(clearDistributedTablesCommandList,
|
||||||
detachPartitionCommandList);
|
detachPartitionCommandList);
|
||||||
|
|
||||||
clearDistributedTablesCommandList = lappend(clearDistributedTablesCommandList,
|
clearDistributedTablesCommandList = lappend(clearDistributedTablesCommandList,
|
||||||
REMOVE_ALL_CLUSTERED_TABLES_ONLY_COMMAND);
|
REMOVE_ALL_CLUSTERED_TABLES_ONLY_COMMAND);
|
||||||
|
@ -908,8 +908,10 @@ SetUpDistributedTableWithDependencies(WorkerNode *newWorkerNode)
|
||||||
* We prefer this because otherwise node activation might fail within
|
* We prefer this because otherwise node activation might fail within
|
||||||
* transaction blocks.
|
* transaction blocks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* TODO: Doesn't make sense to have that here as we won't handle placement metadata */
|
/* TODO: Doesn't make sense to have that here as we won't handle placement metadata */
|
||||||
// TODO: Metadatasynced olmayan worker varsa patla (Onder'in PRinda gidebilir)
|
/* TODO: Metadatasynced olmayan worker varsa patla (Onder'in PRinda gidebilir) */
|
||||||
|
|
||||||
/* with maintenance daemon anymore */
|
/* with maintenance daemon anymore */
|
||||||
|
|
||||||
/* if (ClusterHasDistributedFunctionWithDistArgument())
|
/* if (ClusterHasDistributedFunctionWithDistArgument())
|
||||||
|
|
Loading…
Reference in New Issue