Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace uuid in issues with uri #2267

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,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
Loading