Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
- OpenSearch version: 3.5.0 (upgrade from 2.19.4)
- Deployment: Kubernetes (3 manager + 2 data nodes), manager and data PVCs preserved across upgrade
- Index Management (ISM) plugin: enabled
Describe the issue:
We upgraded a logging cluster from OpenSearch 2.19.4 to 3.5.0 with **PVCs preserved** (manager PVC for cluster state, data PVCs for shard data). ISM policy uses `min_index_age: 7d` for deletion.
After upgrade, ~87 of 94 daily log indices (e.g. `log-app-dbstorage-2026.04.10`) show:
index.creation_date= ~2026-06-23 13:50 UTC (same day for most affected indices)
Checks on a sample index `log-app-dbstorage-2026.04.10`:
- 1041 documents: `time` field = April 10, 2026 (original log event time)
- All documents: `date` field = `2026-06-23` (ingest/processing date)
- `creation_date` cannot be updated via settings API (`unknown setting [index.creation_date]`)
Configuration:
ISM Configuration:
{ "policy_id": "internal-irm-default-index-retention-policy", "states": [ { "name": "wait_for_aging", "transitions": [{ "state_name": "wait_for_maintenance_window", "conditions": { "min_index_age": "7d" } }] }, { "name": "wait_for_maintenance_window", "actions": [{ "cron": { "cron": { "expression": "0 */3 * * *", "timezone": "UTC" } } }], "transitions": [{ "state_name": "delete" }] }, { "name": "delete", "actions": [{ "delete": {} }] } ] }
Sample doc from a reset index -
GET log-app-dbstorage-2026.04.10/_search?size=1&_source=time,date
{
“_source”: {
“time”: “2026-04-10T07:38:41.324971Z”,
“date”: “2026-06-23”
}
}
Is this expected OpenSearch behaviour during upgrades, where the index is recreated instead of being reopened from the preserved cluster state?
If that’s expected behaviour then what is the recommended procedure after upgrade to avoid new creation_date on existing indices?