(ctx context.Context, dbName string)
| 1805 | } |
| 1806 | |
| 1807 | func (sc *ServerContext) fetchDatabase(ctx context.Context, dbName string) (found bool, dbConfig *DatabaseConfig, err error) { |
| 1808 | // fetch will update the databses |
| 1809 | sc._databasesLock.Lock() |
| 1810 | defer sc._databasesLock.Unlock() |
| 1811 | return sc._fetchDatabase(ctx, dbName) |
| 1812 | } |
| 1813 | |
| 1814 | func (sc *ServerContext) _fetchDatabaseFromBucket(ctx context.Context, bucket string, dbName string) (found bool, cnf DatabaseConfig, err error) { |
| 1815 |