mirror of https://github.com/citusdata/citus.git
Add comment
parent
6c693adf0d
commit
00c7e0cf82
|
@ -204,6 +204,10 @@ ErrorIfCircularDependencyExists(const ObjectAddress *objectAddress)
|
||||||
* DeferErrorIfCircularDependencyExists is a wrapper function around
|
* DeferErrorIfCircularDependencyExists is a wrapper function around
|
||||||
* DeferErrorIfCircularDependencyExistsOnObject, which calls that function for
|
* DeferErrorIfCircularDependencyExistsOnObject, which calls that function for
|
||||||
* each dependency of the given object.
|
* each dependency of the given object.
|
||||||
|
* We do this to detect objects like A -> B -> C <-> D.
|
||||||
|
* For this example, A is passed to this function but we will catch the circular
|
||||||
|
* dependency relationship between C and D, by calling
|
||||||
|
* DeferErrorIfCircularDependencyExistsOnObject for C, or D.
|
||||||
*/
|
*/
|
||||||
DeferredErrorMessage *
|
DeferredErrorMessage *
|
||||||
DeferErrorIfCircularDependencyExists(const ObjectAddress *objectAddress)
|
DeferErrorIfCircularDependencyExists(const ObjectAddress *objectAddress)
|
||||||
|
|
Loading…
Reference in New Issue