Skip to content

Commit

Permalink
fix(kafka_topic): migration from v3 (#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-savciuc authored Dec 21, 2023
1 parent 817e97d commit 3ec86e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ nav_order: 1
- Deprecating `aiven_organization_user` resource and update data source logic that will be used instead of the corresponding resource
- Add support for the `aiven_organization_user_group_member` resource, allowing the association of groups with the users. Please note that this resource is in the beta stage, and to use it, you would need to set the environment variable PROVIDER_AIVEN_ENABLE_BETA to a non-zero value.
- Retry kafka topic creation error `Cluster only has N broker(s), cannot set replication factor to M`
- Fix Kafka Topic migration issues from V3 to V4.

## [4.9.4] - 2023-12-13

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,11 @@ func ResourceKafkaTopicStateUpgrade(
}

err := typeupgrader.Map(config, map[string]string{
"message_downconversion_enable": "bool",
"min_cleanable_dirty_ratio": "float",
"preallocate": "bool"})
"message_downconversion_enable": "bool",
"min_cleanable_dirty_ratio": "float",
"preallocate": "bool",
"unclean_leader_election_enable": "bool",
})
if err != nil {
return rawState, err
}
Expand Down

0 comments on commit 3ec86e1

Please sign in to comment.