Skip to content

[BUG] illegal_argument_exception error after upgrading to 3.3.0 #19646

@tronboto

Description

@tronboto

Describe the bug

After performing a rolling upgrade from form 3.2.0 to 3.3.0, we started seeing our vector nodes fail to ingest to Opensearch with the following error:

{
  "errors": true,
  "items": [
    {
      "create": {
        "_index": "catch-all-2025.09.29-000001",
        "status": 400,
        "error": {
          "type": "illegal_argument_exception",
          "reason": "cannot change field \"@timestamp\" from docValuesSkipIndexType=NONE to inconsistent docValuesSkipIndexType=RANGE"
        }
      }
    }
  ]
}

The settings for this index are:

{
  "catch-all-2025.09.29-000001": {
    "settings": {
      "index.codec": "zstd_no_dict",
      "index.creation_date": "1759154069750",
      "index.creation_date_string": "2025-09-29T13:54:29.750Z",
      "index.mapping.ignore_malformed": "true",
      "index.number_of_replicas": "1",
      "index.number_of_shards": "1",
      "index.plugins.index_state_management.rollover_alias": "catch-all",
      "index.priority": "100",
      "index.provided_name": "<catch-all-{now/d}-000001>",
      "index.refresh_interval": "10s",
      "index.replication.type": "SEGMENT",
      "index.routing.allocation.total_shards_per_node": "1",
      "index.unassigned.node_left.delayed_timeout": "5m",
      "index.uuid": "1Edu7vQqQEuSpCMVx6jzrg",
      "index.version.created": "136407827",
      "index.version.created_string": "2.19.0"
    }
  }
}

So it looks like the index was created in 2.19.0 and then we upgraded first to 3.2.0 and then to 3.3.0. We only started seeing this error after upgrading to 3.3.0.

The mapping for @timestamp looks like:

{
  "catch-all-2025.09.29-000001": {
    "mappings": {
      "@timestamp": {
        "full_name": "@timestamp",
        "mapping": {
          "@timestamp": {
            "type": "date"
          }
        }
      }
    }
  }
}

Note that ingest resumes again without error after hitting /catch-all/_rollover.

Related component

Other

To Reproduce

Haven't had time to verify a minimal reproducer just yet

Expected behavior

Ingest shouldn't stop after upgrading

Additional Details

Plugins
n/a

Screenshots
n/a

Host/Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • Version: opensearch/opensearch:3.3.0 container

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    OtherbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions