mattermost/server/enterprise
Jesse Hallam 44ba06ee3c
MM-68248: Handle missing OpenSearch indexes gracefully before reindex (#36712)
* MM-68248: Handle missing indexes gracefully before reindex

OpenSearch v3 rejects _update_by_query and _delete_by_query with no index
argument (405), and returns index_not_found_exception (404) when querying
an exact index name that hasn't been created yet. Both arise before any
reindex has run, since indexes are created on first document write.

Return nil/empty instead of an error from all affected operations, and add
test coverage for each in the no-indexes state.

* MM-68248: Fix copy-paste operation names in DeleteFilesBatch

* MM-68248: Add i18n string for delete_files_batch error

* MM-68248: Also check error type in isIndexNotFound
2026-05-22 16:05:03 +00:00
..
elasticsearch MM-68248: Handle missing OpenSearch indexes gracefully before reindex (#36712) 2026-05-22 16:05:03 +00:00
message_export/shared MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
metrics MM-67291: ES health metric (#35844) 2026-04-13 21:45:48 +00:00
external_imports.go Autotranslations MVP (#34696) 2026-01-26 17:05:34 -05:00
LICENSE Source available metrics (#24879) 2024-01-08 10:47:24 -04:00
local_imports.go relocate message export (#33805) 2025-08-27 23:22:05 +03:00
placeholder.go Source available metrics (#24879) 2024-01-08 10:47:24 -04:00
README.md Source available metrics (#24879) 2024-01-08 10:47:24 -04:00

Enterprise

This folder contains source available enterprise code as well as import directives for closed source enterprise code.

Build Information

The source code in this folder is only included with builds specifying the enterprise or sourceavailble build tags. If you have a copy of https://github.com/mattermost/enterprise checked out as a peer to this repository, enterprise will be set automatically and the imports from both external_imports.go and local_imports.go will apply.

In a development environment (when BUILD_NUMBER is left undefined or explicitly set to dev), the sourceavailable build tag will be set automatically and only the imports from local_imports.go will apply.

License

See the LICENSE file for license rights and limitations. See also Mattermost Source Available License to learn more.

Contributing

Contributions to source available enterprise code are welcome. Please see CONTRIBUTING.md.