)]}'
{
  "commit": "20dce9e8558b66785e3eff0628001497bd42857a",
  "tree": "94eaecfdce7250ec73934c34ed9c6ae36f66739a",
  "parents": [
    "f8b7cb52db54f13b05a72ff9c3231afc4d359b17"
  ],
  "author": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Wed Feb 17 19:16:13 2021 +0100"
  },
  "committer": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Wed Feb 17 19:14:48 2021 +0000"
  },
  "message": "Fix \u0027invalid metric name\u0027 error\n\nMetricMaker only allows certain characters to be used when registering a\nnew metric name, raising an \u0027IllegalArgumentException\u0027 when the provided\nmetric contains invalid characters.\n\nThis in turns prevents the chronicle-map cache from being created.\n\nSanitize the name of the cache before registering the new metric, so\nthat invalid characters are replaced by \u0027_\u0027.\n\nBug: Issue 14098\nChange-Id: Id62a0755245179c8d27f67a4a4c99b5f32bbeb72\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e85e55304d5eb7af3f46f13b1e01ab92768fd9ec",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapCacheImpl.java",
      "new_id": "311445b161f609a4d8b29aa64613b36ef8538562",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapCacheImpl.java"
    },
    {
      "type": "modify",
      "old_id": "f8ef9393b2419c5ce58fc13599a98af269233bc8",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapCacheTest.java",
      "new_id": "e8c1f4a51a4ab5f4166a95acdd9884edf6600985",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapCacheTest.java"
    }
  ]
}
