Skip to content

Geo - Gitlab::Geo should not serialize ActiveRecord objects

What does this MR do?

We should avoid putting binary ActiveRecord objects in the cache. This MR introduces a new cache Gitlab::JsonCache that writes a string containing a JSON representation of the objects to the cache, and parses the cached value back when requested.

What are the relevant issue numbers?

Closes #8827 (closed)

Does this MR meet the acceptance criteria?

Edited by Douglas Barbosa Alexandre

Merge request reports