diff --git a/doc/source/admin/galaxy_options.rst b/doc/source/admin/galaxy_options.rst index 40defa60e8a..ebc6824d962 100644 --- a/doc/source/admin/galaxy_options.rst +++ b/doc/source/admin/galaxy_options.rst @@ -3563,6 +3563,22 @@ :Type: bool +~~~~~~~~~~~~~~~~~~~~~ +``metadata_strategy`` +~~~~~~~~~~~~~~~~~~~~~ + +:Description: + Determines how metadata will be set. Valid values are `directory`, + `extended` and `legacy`. In extended mode jobs will decide if a + tool run failed, the object stores configuration is serialized and + made available to the job and is used for writing output datasets + to the object store as part of the job and dynamic output + discovery (e.g. discovered datasets , + unpopulated collections, etc) happens as part of the job. +:Default: ``directory`` +:Type: str + + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``retry_metadata_internally`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/lib/galaxy/config/sample/galaxy.yml.sample b/lib/galaxy/config/sample/galaxy.yml.sample index 1fe69acef2a..f14fd7cafe9 100644 --- a/lib/galaxy/config/sample/galaxy.yml.sample +++ b/lib/galaxy/config/sample/galaxy.yml.sample @@ -1741,6 +1741,15 @@ galaxy: # database. #enable_job_recovery: true + # Determines how metadata will be set. Valid values are `directory`, + # `extended` and `legacy`. In extended mode jobs will decide if a tool + # run failed, the object stores configuration is serialized and made + # available to the job and is used for writing output datasets to the + # object store as part of the job and dynamic output discovery (e.g. + # discovered datasets , unpopulated collections, + # etc) happens as part of the job. + #metadata_strategy: directory + # Although it is fairly reliable, setting metadata can occasionally # fail. In these instances, you can choose to retry setting it # internally or leave it in a failed state (since retrying internally diff --git a/lib/galaxy/config/sample/job_conf.xml.sample_advanced b/lib/galaxy/config/sample/job_conf.xml.sample_advanced index 53254618eba..beb5feb3d13 100644 --- a/lib/galaxy/config/sample/job_conf.xml.sample_advanced +++ b/lib/galaxy/config/sample/job_conf.xml.sample_advanced @@ -401,6 +401,17 @@ try it early - it will slightly speed up local jobs by embedding metadata calculation in job script itself. --> + directory +