Skip to content

Commit

Permalink
Replace uuid in issues with uri (#2267)
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvar-antonsson authored Aug 15, 2024
1 parent b71222e commit 2b4f5ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Changed

- Cartridge doesn't use ``ddl-ee`` instead of ``ddl``.

- uuids in issues replaces with instance names and uris.

-------------------------------------------------------------------------------
[2.12.2] - 2024-06-24
-------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions cartridge/issues.lua
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ local function list_on_instance(opts)
"Raft leader idle is %f on %s. "..
"Is raft leader alive and connection is healthy?",
leader_idle,
instance_uuid
describe(self_uri)
)
}
table.insert(ret, issue)
Expand Down Expand Up @@ -538,7 +538,7 @@ local function list_on_instance(opts)
replicaset_uuid = replicaset_uuid,
message = string.format(
'Disk error on instance %s. This issue stays until restart',
instance_uuid
describe(self_uri)
),
})
end
Expand Down
5 changes: 2 additions & 3 deletions test/integration/issues_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,8 @@ function g.test_election_leader_high_idle()
{
level = 'warning',
topic = 'raft',
message = ("Raft leader idle is 10.000000 on %s. "..
"Is raft leader alive and connection is healthy?"):
format(g.master.instance_uuid),
message = "Raft leader idle is 10.000000 on localhost:13301 (master). "..
"Is raft leader alive and connection is healthy?",
instance_uuid = g.master.instance_uuid,
replicaset_uuid = g.master.replicaset_uuid,
},
Expand Down

0 comments on commit 2b4f5ed

Please sign in to comment.