<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 10.2 Version Reconcile Order: Grandchild Versions in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403697#M23187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&amp;nbsp; Our SDE is at version 10.0, the python code is below, and the grandchildren were indeed created from their parent versions and not from the default version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prior to our migration to 10.2, we wrote and ran nightly an "Auto Batch Reconciler," (VB.net), which reconciled grandchildren to their parent, and the parents to Default.&amp;nbsp; We have not [yet] re-compiled the Auto Batch Reconciler to work with 10.2, choosing instead to use Python and the "recommended order."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't decide if there is a good reason to recompile the ABR, or if reconciling the grandchildren to Default is sufficient.&amp;nbsp; The immediate impact is: grandchildren will be ignorant of their parent's and their sibling's modifications until the user manually reconciles against the parent.&amp;nbsp; I'm afraid it could result in erroneous conflicts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import time

timestr = time.strftime("%Y%b%d-%I%M%S%p")
LogFilePath = '\\\abcsrv\\staff\\Administrative\\GISsoftware\\SDE_SQL_Server_Information\\PROD\\ReconcileVersionsLogs'
final = LogFilePath + "\\" + timestr + ".txt"

# Get a list of versions to pass into the ReconcileVersions tool.
versionList = arcpy.ListVersions('\\\abcsrv\\staff\\ArcGIS_Scripts\\Script_Files\\SDE_Connection_Files\\PROD_SDE.sde')

# Execute the ReconcileVersions tool.
arcpy.ReconcileVersions_management('\\\abcsrv\\staff\\ArcGIS_Scripts\\Script_Files\\SDE_Connection_Files\\PROD_SDE.sde', "BLOCKING_VERSIONS", "sde.DEFAULT", versionList, "NO_LOCK_ACQUIRED", "ABORT_CONFLICTS", "BY_OBJECT", "FAVOR_TARGET_VERSION", "NO_POST", "KEEP_VERSION", final)

# Compress the geodatabase
arcpy.Compress_management('\\\abcsrv\\staff\\ArcGIS_Scripts\\Script_Files\\SDE_Connection_Files\\PROD_SDE.sde')

print "versions have been reconciled, database has been compressed"
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 18:23:52 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-11T18:23:52Z</dc:date>
    <item>
      <title>10.2 Version Reconcile Order: Grandchild Versions</title>
      <link>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403694#M23184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&amp;nbsp; I have a python script which reconciles all of our 72 versions in the recommended order, then compresses.&amp;nbsp; I notice, in the resultant log, that it reconciles "grandchild" versions with Default--not with the parent.&amp;nbsp; This is not consistent with my understanding of proper ArcSDE reconcile ordering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would benefit from other ArcSDE folks' thoughts on these "grandchildren."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 21:29:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403694#M23184</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-11-08T21:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: 10.2 Version Reconcile Order: Grandchild Versions</title>
      <link>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403695#M23185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marianne,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could provide some information to help you get a response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of Desktop/SDE do you have?&amp;nbsp; 10.0 or 10.2?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you provide a snippet of your python code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you verify that the grandchildren versions were indeed created from their parent versions and not from the default version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 13:56:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403695#M23185</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-11-12T13:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: 10.2 Version Reconcile Order: Grandchild Versions</title>
      <link>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403696#M23186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello!&amp;nbsp; I have a python script which reconciles all of our 72 versions in the recommended order, then compresses.&amp;nbsp; I notice, in the resultant log, that it reconciles "grandchild" versions with Default--not with the parent.&amp;nbsp; &lt;STRONG&gt;This is not consistent with my understanding of proper ArcSDE reconcile ordering.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I would benefit from other ArcSDE folks' thoughts on these "grandchildren."&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be mis-interpreting the significance of "reconcile order". In any batch reconciliation &amp;amp; post, there can be only &lt;/SPAN&gt;&lt;STRONG&gt;one&lt;/STRONG&gt;&lt;SPAN&gt; target version (as you set it on the dialog). It seems you set the DEFAULT as the target, hence all edit versions, including grandchild, grandgrandchilds and so on, will be posted against DEFAULT, not against each other based on child-parent version relationship.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See also this recent discussion I had with another forum poster, &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;where I initially made the same thought error in post no. 13&lt;/SPAN&gt;&lt;SPAN&gt;, but corrected this in post no. 16:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/86298-Sequence-of-reconcile-post-from-multiple-versions-to-default-ArcSDE-geodatabase?p=334578&amp;amp;viewfull=1#post334578"&gt;Sequence of reconcile/post from multiple versions to default ArcSDE geodatabase&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may find reading the discussion in that thread (and also the links to (ESRI) documents and webpages about versioning in there) from the start a help in better understanding the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, "versioning" and "reconciliation" can be mind-boggling at times, and even if you get it straight once, you may get confused another time... it takes time to really familiarize yourself with all the details involved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 09:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403696#M23186</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-11-13T09:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: 10.2 Version Reconcile Order: Grandchild Versions</title>
      <link>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403697#M23187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&amp;nbsp; Our SDE is at version 10.0, the python code is below, and the grandchildren were indeed created from their parent versions and not from the default version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prior to our migration to 10.2, we wrote and ran nightly an "Auto Batch Reconciler," (VB.net), which reconciled grandchildren to their parent, and the parents to Default.&amp;nbsp; We have not [yet] re-compiled the Auto Batch Reconciler to work with 10.2, choosing instead to use Python and the "recommended order."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't decide if there is a good reason to recompile the ABR, or if reconciling the grandchildren to Default is sufficient.&amp;nbsp; The immediate impact is: grandchildren will be ignorant of their parent's and their sibling's modifications until the user manually reconciles against the parent.&amp;nbsp; I'm afraid it could result in erroneous conflicts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import time

timestr = time.strftime("%Y%b%d-%I%M%S%p")
LogFilePath = '\\\abcsrv\\staff\\Administrative\\GISsoftware\\SDE_SQL_Server_Information\\PROD\\ReconcileVersionsLogs'
final = LogFilePath + "\\" + timestr + ".txt"

# Get a list of versions to pass into the ReconcileVersions tool.
versionList = arcpy.ListVersions('\\\abcsrv\\staff\\ArcGIS_Scripts\\Script_Files\\SDE_Connection_Files\\PROD_SDE.sde')

# Execute the ReconcileVersions tool.
arcpy.ReconcileVersions_management('\\\abcsrv\\staff\\ArcGIS_Scripts\\Script_Files\\SDE_Connection_Files\\PROD_SDE.sde', "BLOCKING_VERSIONS", "sde.DEFAULT", versionList, "NO_LOCK_ACQUIRED", "ABORT_CONFLICTS", "BY_OBJECT", "FAVOR_TARGET_VERSION", "NO_POST", "KEEP_VERSION", final)

# Compress the geodatabase
arcpy.Compress_management('\\\abcsrv\\staff\\ArcGIS_Scripts\\Script_Files\\SDE_Connection_Files\\PROD_SDE.sde')

print "versions have been reconciled, database has been compressed"
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:23:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/10-2-version-reconcile-order-grandchild-versions/m-p/403697#M23187</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T18:23:52Z</dc:date>
    </item>
  </channel>
</rss>

