Skip to content

Commit

Permalink
[Fleet] Fix source mode rollover (#207133)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet authored Jan 20, 2025
1 parent a3a2b22 commit a39898b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getESAssetMetadata } from '../services/epm/elasticsearch/meta';

const meta = getESAssetMetadata();

export const FLEET_INSTALL_FORMAT_VERSION = '1.4.0';
export const FLEET_INSTALL_FORMAT_VERSION = '1.4.1';

export const FLEET_AGENT_POLICIES_SCHEMA_VERSION = '1.1.1';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,8 @@ const updateExistingDataStream = async ({
// Trigger a rollover if the index mode or source type has changed
if (
currentIndexMode !== settings?.index?.mode ||
currentSourceType !== settings?.index?.source?.mode ||
// @ts-expect-error Property 'source.mode' does not exist on type 'IndicesMappingLimitSettings'
currentSourceType !== settings?.index?.mapping?.source?.mode ||
dynamicDimensionMappingsChanged
) {
if (options?.skipDataStreamRollover === true) {
Expand Down

0 comments on commit a39898b

Please sign in to comment.