Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Columntypedescription
IDVARCHARuuid
GROUPER_SYNC_IDVARCHARforeign key back to grouper_sync
SYNC_TYPEVARCHARup to the sync_engine what is available.  e.g. full_sync, incremental, group_sync, user_sync, daemon, etc
JOB_STATEVARCHARRUNNING, PENDING, SUCCESS, ERROR.  used for job coordination
LAST_SYNC_INDEX_OR_MILLISINTEGERfor incremental jobs, this is the last index processed, or the last timestamp processed (millis since 1970)
LAST_TIME_WORK_WAS_DONETIMESTAMPif work was actually accomplished, this is the last time.  for instance if 2 hours of incrementals have passed
and no work needed to be done, then do not update this field
(TODO) add: JOB_STATE_LAST_UPDATEDTIMESTAMPHeartbeat column that is updated as a job is running in a thread (e.g. every 15 seconds)
LAST_UPDATEDTIMESTAMPwhen this record was last updated

...