Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBG-3108 only log relevant SG indexes #6317

Merged
merged 1 commit into from
Jun 21, 2023
Merged

CBG-3108 only log relevant SG indexes #6317

merged 1 commit into from
Jun 21, 2023

Conversation

torcolvin
Copy link
Collaborator

In the first commit, just log SG only indexes. I also add which indexes aren't ready yet so we know which indexes are slow to create.

I think the second commit is more comprehensive about logging but might be too much for 3.1.1

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Integration Tests

rest/config.go Outdated
@@ -478,6 +478,9 @@ func readFromPath(path string, insecureSkipVerify bool) (rc io.ReadCloser, err e

func (dbConfig *DbConfig) AutoImportEnabled() (bool, error) {
if dbConfig.AutoImport == nil {
if !dbConfig.UseXattrs() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change required for this PR? It seems unrelated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change already exists on master and if I do a git diff origin/master I don't see this change so I don't know what github is doing here.

@adamcfraser adamcfraser assigned torcolvin and unassigned adamcfraser Jun 20, 2023
@torcolvin torcolvin assigned adamcfraser and unassigned torcolvin Jun 20, 2023
- add context based logging to include bucket and collection information
@torcolvin torcolvin merged commit d45f5c9 into master Jun 21, 2023
24 checks passed
@torcolvin torcolvin deleted the CBG-3108 branch June 21, 2023 15:32
torcolvin added a commit that referenced this pull request Jun 30, 2023
- add context based logging to include bucket and collection information
torcolvin added a commit that referenced this pull request Jun 30, 2023
- add context based logging to include bucket and collection information
bbrks pushed a commit that referenced this pull request Mar 28, 2024
- add context based logging to include bucket and collection information
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants