Removed Elasticsearch and Opensearch channel index schedma check (#30102)

Этот коммит содержится в:
Harshil Sharma
2025-02-06 11:50:37 +05:30
коммит произвёл GitHub
родитель 8b65771a31
Коммит 35e776d805
9 изменённых файлов: 2 добавлений и 419 удалений

Просмотреть файл

@@ -335,7 +335,3 @@ func (b *BleveEngine) UpdateConfig(cfg *model.Config) {
}
b.cfg = cfg
}
func (b *BleveEngine) IsChannelsIndexVerified() bool {
return true
}

Просмотреть файл

@@ -50,5 +50,4 @@ type SearchEngineInterface interface {
PurgeIndexList(rctx request.CTX, indexes []string) *model.AppError
RefreshIndexes(rctx request.CTX) *model.AppError
DataRetentionDeleteIndexes(rctx request.CTX, cutoff time.Time) *model.AppError
IsChannelsIndexVerified() bool
}

Просмотреть файл

@@ -407,24 +407,6 @@ func (_m *SearchEngineInterface) IsAutocompletionEnabled() bool {
return r0
}
// IsChannelsIndexVerified provides a mock function with given fields:
func (_m *SearchEngineInterface) IsChannelsIndexVerified() bool {
ret := _m.Called()
if len(ret) == 0 {
panic("no return value specified for IsChannelsIndexVerified")
}
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// IsEnabled provides a mock function with given fields:
func (_m *SearchEngineInterface) IsEnabled() bool {
ret := _m.Called()