[MXS-3549] Reject instead of ignore an attempt to change the _id via an update. Created: 2021-05-17 Updated: 2021-11-19 Resolved: 2021-11-19 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | nosqlprotocol |
| Affects Version/s: | 6.0.0 |
| Fix Version/s: | 6.2.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Johan Wikman |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Epic Link: | MongoDB Protocol Support |
| Description |
|
MongoDB rejects an attempt to change the id field of a document via an update and returns an error for that particular update document. Currently _mongodbprotocol simply ignores the attempt. To be fully compatible, mongodbprotocol should also reject it. |
| Comments |
| Comment by Johan Wikman [ 2021-11-19 ] |
|
Fixed by |