Skip to content

Commit 947c3bd

Browse files
committed
Fix creating index-patterns with ccs causes search threadPool to be exhausted
Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]> Signed-off-by: kewei.11 <[email protected]>
1 parent d3c5461 commit 947c3bd

File tree

1 file changed

+0
-12
lines changed
  • src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib

1 file changed

+0
-12
lines changed

src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/get_indices.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -209,18 +209,6 @@ export async function getIndices({
209209
});
210210
requests.push(promiseResolve);
211211

212-
if (isCCS) {
213-
// CCS supports ±1 major version. We won't be able to expect resolve endpoint to exist until v9
214-
const promiseSearch = getIndicesViaSearch({
215-
getIndexTags,
216-
pattern,
217-
searchClient,
218-
showAllIndices,
219-
dataSourceId,
220-
}).catch(() => []);
221-
requests.push(promiseSearch);
222-
}
223-
224212
const responses = await Promise.all(requests);
225213

226214
if (responses.length === 2) {

0 commit comments

Comments
 (0)