diff options
Diffstat (limited to 'lib/gitlab/markdown_cache.rb')
-rw-r--r-- | lib/gitlab/markdown_cache.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/gitlab/markdown_cache.rb b/lib/gitlab/markdown_cache.rb index 3ec5f2339b5..d0702190ac0 100644 --- a/lib/gitlab/markdown_cache.rb +++ b/lib/gitlab/markdown_cache.rb @@ -2,8 +2,12 @@ module Gitlab module MarkdownCache - # Increment this number every time the renderer changes its output - CACHE_COMMONMARK_VERSION = 27 + # Increment this number every time the renderer changes its output. + # Changing this value puts strain on the database, as every row with + # cached markdown needs to be updated. As a result, this line should + # not be changed. + # See: https://gitlab.com/gitlab-org/gitlab/-/issues/330313 + CACHE_COMMONMARK_VERSION = 28 CACHE_COMMONMARK_VERSION_START = 10 BaseError = Class.new(StandardError) |