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



Excerpt

Find content files in the S3 store that are not referenced any longer by an object in the database.


yuuvis® Momentum stores content files separately from their metadata. The content files are indicated by a contentStreamId and can be stored in an S3 store. Each corresponding object with its metadata is stored in a database and contains a reference on the contentStreamId of its content file. If the object is deleted, the metadata are read from the database and deleted. The content file is searched afterwards by the contentStreamId that was read from the database before, and deleted. If an error occurs during this process, the object might be removed from the database but not the corresponding content file. Thus, over time, several content files might remain in the S3 store that are not referenced by an existing object. As of yuuvis® Momentum version 2020 Winter, it is possible to find those content files in the S3 store by means of the maintain repository command provided by the Commander service/wiki/spaces/YMY/pages/320050357.

The command determines all content files in a specified S3 store and checks in the database whether they are referenced by an existing object or an old version of an object. Content files without any reference in the database are listed via contentStreamId and returned in a JSON structure.

These parameters can be given to the maintain-repository command:

ParameterDescriptionExample
-h | --helpDisplays the help for the command.maintain repository -h
-r | --repositoryId <arg>Specifies the ID of the repository that to be searched. If the specified repository is not an S3 store, an error is returned.

maintain

repository -r s3repo-o |

-

-outputIf this parameter is set, the list with the determined content files will be saved in a file in the temp directory.maintain

repository -r s3repo

-o


Info
iconfalse

Read on


Section


Column
width25%

COMMANDER Service for System Maintenance

Insert excerpt
COMMANDER Service for System Maintenance
COMMANDER Service for System Maintenance
nopaneltrue
 Keep reading


Column
width25%
Reindexing of Elasticsearch from Database

dbs-reindex Command

Insert excerpt
Reindexing of Elasticsearch from DatabaseReindexing of Elasticsearch from Databasedbs-reindex Command
dbs-reindex Command
nopaneltrue
 Keep reading


Column
width25%

maintain-compare Command

Insert excerpt
maintain-compare Command
maintain-compare Command
nopaneltrue
 Keep reading




...