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

Add stress tests for settings table and fix simple issues with transactions #1316

Merged
merged 40 commits into from
Oct 31, 2022

Conversation

rumyantseva
Copy link
Member

@rumyantseva rumyantseva commented Oct 24, 2022

Description

Closes #1282.

See also my comments in the original issue.
See also #1318 for SchemaStats related issues.

Readiness checklist

  • I added tests for new functionality or bugfixes.
  • I ran task all, and it passed.
  • I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
  • I checked comments rendering with task godocs.
  • I ensured that the title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@vercel
Copy link

vercel bot commented Oct 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ferret-db ✅ Ready (Inspect) Visit Preview Oct 31, 2022 at 1:11PM (UTC)

@rumyantseva rumyantseva mentioned this pull request Oct 24, 2022
7 tasks
@vercel vercel bot temporarily deployed to Preview October 24, 2022 22:08 Inactive
@vercel vercel bot temporarily deployed to Preview October 24, 2022 22:32 Inactive
@rumyantseva rumyantseva self-assigned this Oct 24, 2022
@rumyantseva rumyantseva added the code/chore Code maintenance improvements label Oct 24, 2022
@rumyantseva rumyantseva changed the title Add stress tests for settings table Add stress tests for settings table and fix simple issues with transactions Oct 24, 2022
@vercel vercel bot temporarily deployed to Preview October 24, 2022 22:48 Inactive
@vercel vercel bot temporarily deployed to Preview October 24, 2022 23:57 Inactive
@vercel vercel bot temporarily deployed to Preview October 24, 2022 23:59 Inactive
@rumyantseva rumyantseva changed the title Add stress tests for settings table and fix simple issues with transactions Add stress tests and fix simple issues with transactions Oct 25, 2022
@rumyantseva rumyantseva marked this pull request as ready for review October 25, 2022 00:02
@rumyantseva rumyantseva requested a review from a team as a code owner October 25, 2022 00:02
@rumyantseva rumyantseva requested review from AlekSi, w84thesun, a team, chilagrow and noisersup and removed request for a team October 25, 2022 00:02
@rumyantseva rumyantseva removed the do not merge PRs that should not be merged label Oct 28, 2022
@rumyantseva rumyantseva enabled auto-merge (squash) October 28, 2022 09:48
@vercel vercel bot temporarily deployed to Preview October 28, 2022 09:56 Inactive
@vercel vercel bot temporarily deployed to Preview October 28, 2022 11:56 Inactive
AlekSi
AlekSi previously approved these changes Oct 28, 2022
integration/create_test.go Outdated Show resolved Hide resolved
@vercel vercel bot temporarily deployed to Preview October 28, 2022 14:01 Inactive
Copy link
Contributor

@w84thesun w84thesun left a comment

Choose a reason for hiding this comment

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

LGTM

@vercel vercel bot temporarily deployed to Preview October 28, 2022 17:28 Inactive
@vercel vercel bot temporarily deployed to Preview October 28, 2022 17:35 Inactive
@vercel vercel bot temporarily deployed to Preview October 31, 2022 10:44 Inactive
@vercel vercel bot temporarily deployed to Preview October 31, 2022 11:20 Inactive
@vercel vercel bot temporarily deployed to Preview October 31, 2022 13:11 Inactive
@rumyantseva rumyantseva merged commit f4974a5 into FerretDB:main Oct 31, 2022
@rumyantseva rumyantseva deleted the issue-1282-investigate-tables branch October 31, 2022 18:54
if err != nil {
var cmdErr *mongo.CommandError
if errors.As(err, &cmdErr) {
if strings.Contains(cmdErr.Message, `unknown top level operator: $tigrisSchemaString`) {
Copy link
Member

Choose a reason for hiding this comment

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

We have the same comment there and at #1318 (comment), but the implementation of error checking is very different. Which one is correct?

@AlekSi AlekSi added this to the v0.6.1 milestone Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Code maintenance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add stress tests for settings table
5 participants