Skip to content

Duplicate entry when high concurrency request to add a team member #19697

Closed
@zuzuviewer

Description

@zuzuviewer

Description

when a user is not team member,high concurrency request to add this user to the team,it will response 204 to one,and other resposne is Duplicate entry error.

Gitea Version

1.16.7

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

lQLPDhtrTTeAfkHNAgTNB1awhzdcwrTBLMMCgHnmhIA9AA_1878_516

Git Version

1.8.3.1

Operating System

centos7.8

How are you running Gitea?

docker

Database

MySQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions