Versions Compared

Key

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

...

Page Properties
hiddentrue
idDONE

Product Version2020 Winter
Report Note
AssigneeAntje

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje24 FEB 20212020 WinterPage created and written.
Agnieszka26 FEB 20212020 WinterrLANG
JaR29 SEP 2021yMwA5new command style
JaR18 AUG 2022yMAchanged output, added params
Agnieszka06 SEP 20222022 AutumnrLANG



Excerpt

Compare the objects stored in the database and Elasticsearch index.

...

Unforeseen circumstances might occur in any system and might lead to differences between database and Elasticsearch index. As an For example, a deleted object was correctly removed from the database, but for whatever reason not from the Elasticsearch index. As of yuuvis® Momentum version 2020 Winter, it is possible to check the consistency of the stored objects by means of the maintain compare command provided by the /wiki/spaces/YMY/pages/320050357.

While the command runs continuously, the comparison of DMS objects is performed step by step. The objects are grouped by the date of their last modification date/creation date. For each day between the start date and the end date, the corresponding objects are processed. Then again, each day is split in a variable number of time periods, such that the amount of objects to be compared in each period is approximately equal to the number of fetch-size.

All results will be are summarized in a file called job-result.json. In this (ND)JSON structed file, each day is listed separately and contains some general comparison results.

...

After all time periods of a day are finishedprocessed, the procedure is repeated for the next day until the current date (or the specified end date) has been processedis reached. Depending on the number of objects for the tenant, this process can take a long time. While running the task, the process progress is continuously displayed on the command line including an estimated completion time.

When After the command finishedfinishes, the directory containing all result files will be is shown as result.

The following parameters can be given to the maintain compare command:

...