EC-CUBE / EC-CUBE/ec-cube

dtb_customer の排他制御

Open
#4,445 0 comments 0 reactions 0 assignees View on GitHub
bug:Middle
Dominant language
PHP
Stars
788
Forks
719
Avg merge
4d 4h
Merged PRs (30d)
39

Description

## 概要(Overview)

[Slack の #plugin チャンネルより](https://ec-cube.slack.com/archives/C03P2Q8QL/p1578386978000700)

PointProcessorクラスのprepareやrollbackでのポイント加減算時にdtb_customerに対して行ロックがかかっていないため、注文処理と管理画面での注文取消し処理が同時に実行されると、ポイントの不整合が生じる可能性がある

## 期待する内容(Expect) or 要望 (Requirement)

dtb_customer を適切に排他制御する

## 再現手順(Procedure)

注文処理と管理画面での注文取消し処理が同時に実行

### 環境 (environment)
+ EC-CUBE: 4.0.x
+ PHP: 7.x.x
+ DB:
- PostgreSQL x.x.x
- MySQL x.x.x

## 関連情報 (Ref)

他のテーブルも要確認

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.