Skip to content

Commit

Permalink
fix(clustering): the version 3.10.0.0 assigned incorrect number (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
raoxiaoyan authored Jan 22, 2025
1 parent be10aa9 commit 91161d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kong/clustering/compat/removed_fields.lua
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ return {
"queue.concurrency_limit",
},
},
[30010000000] = {
-- Any dataplane older than 3.10.0
[3010000000] = {
session = {
"hash_subject",
"store_metadata",
Expand Down
2 changes: 2 additions & 0 deletions spec/01-unit/19-hybrid/02-clustering_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ describe("kong.clustering.compat.version", function()
assert.equal(3000001000, version.string_to_number("3.0.1"))
assert.equal(3000000000, version.string_to_number("3.0.0.0"))
assert.equal(3000000001, version.string_to_number("3.0.0.1"))
assert.equal(3009000000, version.string_to_number("3.9.0.0"))
assert.equal(3010000000, version.string_to_number("3.10.0.0"))
assert.equal(333333333001, version.string_to_number("333.333.333.1"))
assert.equal(333333333333, version.string_to_number("333.333.333.333"))
end)
Expand Down

1 comment on commit 91161d9

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong-dev:91161d974903c1a40e8aeba9ce682d383573bff8
Artifacts available https://github.com/Kong/kong/actions/runs/12900476106

Please sign in to comment.