Skip to main content


swap_out_meta_after_each_tempfail — controls behavior for updating the startup failure related metadata on


swap_out_meta_after_each_tempfail = true


Assuming swap_out_meta_after_each_tempfail is left at the default value of true, the num_retries and next_attempt values will always be updated on disk after each tempfail.

If this is set to false, Momentum will only update metadata on disk after each tempfail if the message context is dirty. Also, if set to false, num_retries, next_attempt and message context may not be accurate if Momentum crashes.

The default value is true.


swap_out_meta_after_each_tempfail is valid in the global scope.

See Also

Was this page helpful?