(ctx context.Context, bucket string, cnf DatabaseConfig)
| 1877 | } |
| 1878 | |
| 1879 | func (sc *ServerContext) handleInvalidDatabaseConfig(ctx context.Context, bucket string, cnf DatabaseConfig) { |
| 1880 | sc._databasesLock.Lock() |
| 1881 | defer sc._databasesLock.Unlock() |
| 1882 | sc._handleInvalidDatabaseConfig(ctx, bucket, cnf, nil) |
| 1883 | } |
| 1884 | |
| 1885 | func (sc *ServerContext) _handleInvalidDatabaseConfig(ctx context.Context, bucket string, cnf DatabaseConfig, databaseErr *db.DatabaseError) { |
| 1886 | // track corrupt database context |
no test coverage detected