I suffer sometimes from data loss after compressing ArcSDE geodatabase, this geodatabase contains versioned feature classes, so the compressing script reconciles and compress the geodatabase:
# Execute the ReconcileVersions tool. arcpy.ReconcileVersions_management(db_path, "ALL_VERSIONS", "sde.DEFAULT", versionList, "LOCK_ACQUIRED", "NO_ABORT", "BY_OBJECT", "FAVOR_TARGET_VERSION", "POST", "DELETE_VERSION", "c:/reconcilelog.txt") # Run the compress tool. arcpy.Compress_management(db_path)
it seems that the main reason is a bad use of
ReconcileVersions_management, what are the parameters recommanded ? and how i can test if data loss would happen again ?
the geodatabase is based on ArcSDE 10.1 and Postgre SQL 9.0.5.