Fix `used_flag_last_updated` to `used_status_last_updated` in upgrade-notes.md (#15601)

* Fix `used_flag_last_updated` to `used_status_last_updated` in upgrade-notes.md

* Update docs/release-info/upgrade-notes.md

Co-authored-by: Abhishek Radhakrishnan <abhishek.rb19@gmail.com>

---------

Co-authored-by: Benedict Jin <asdf2014@apache.org>
Co-authored-by: Abhishek Radhakrishnan <abhishek.rb19@gmail.com>
This commit is contained in:
sensor 2024-01-03 11:48:07 +08:00 committed by GitHub
parent f0f428274a
commit cfdea06857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -34,13 +34,13 @@ For the full release notes for a specific version, see the [releases page](https
Druid 28.0.0 adds a new column to the Druid metadata table that requires an update to the table.
If `druid.metadata.storage.connector.createTables` is set to `true` and the metadata store user has DDL privileges, the segments table gets automatically updated at startup to include the new `used_flag_last_updated` column. No additional work is needed for the upgrade.
If `druid.metadata.storage.connector.createTables` is set to `true` and the metadata store user has DDL privileges, the segments table gets automatically updated at startup to include the new `used_status_last_updated` column. No additional work is needed for the upgrade.
If either of those requirements are not met, pre-upgrade steps are required. You must make these updates before you upgrade to Druid 28.0.0, or the Coordinator and Overlord processes fail.
Although you can manually alter your table to add the new `used_flag_last_updated` column, Druid also provides a CLI tool to do it.
Although you can manually alter your table to add the new `used_status_last_updated` column, Druid also provides a [CLI tool](https://druid.apache.org/docs/latest/operations/metadata-migration/#create-druid-tables) to do it.
[#12599](https://github.com/apache/druid/pull/12599)
[#12599](https://github.com/apache/druid/pull/12599) [#14868](https://github.com/apache/druid/pull/14868)
In the example commands below:
@ -70,7 +70,7 @@ java -classpath "lib/*" -Dlog4j.configurationFile=conf/druid/cluster/_common/log
```SQL
ALTER TABLE druid_segments
ADD used_flag_last_updated varchar(255);
ADD used_status_last_updated varchar(255);
```
#### Recommended syntax for SQL UNNEST