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

[Go] support concurrent writing, fix concurrent bug, add some unit test #68

Merged
merged 5 commits into from
Oct 23, 2023

Conversation

loloxwg
Copy link
Collaborator

@loloxwg loloxwg commented Sep 29, 2023

No description provided.

@sunby
Copy link
Collaborator

sunby commented Oct 20, 2023

/lgtm

@@ -9,10 +13,18 @@ type LockManager interface {
Release(version int64, success bool) error
}

type EmptyLockManager struct{}
type EmptyLockManager struct {
lock sync.Mutex
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should not add a lock here. If your target is to test concrrent write, maybe it's better to write a memory lock manager.

go/io/fs/minio_fs.go Outdated Show resolved Hide resolved
@sre-ci-robot sre-ci-robot removed the lgtm label Oct 21, 2023
@loloxwg loloxwg force-pushed the manifest branch 2 times, most recently from 26af926 to 47efb83 Compare October 23, 2023 03:02
@sunby
Copy link
Collaborator

sunby commented Oct 23, 2023

/lgtm
/approve

@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: loloxwg, sunby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 276c831 into milvus-io:main Oct 23, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants