Change
Auto commit off: freeze check only at memory write
Issue description
The behavior of freeze/unfreeze when auto commit is off has been an open issue for the past year. After most systems were switched to auto commit off, this was the only problem that frequently caused previously working services to fail. They were resolved by using ignore_frozen mostly, rarely by manually switching the service to auto commit. The problem is that the freeze check is performed twice, once during memory write and once during MySQL write. I now think that the best way is to soley check on memory write when auto commit is off. This allows to keep all established and useful patterns.
Developer comments
This has the currently acceptable disadvantage, that in a long running (several minutes or hours) import service, a topic might get frozen by a different process after it has been checked at memory write.
|
Work sessions4
Start |
2024-02-04T10:23:52
|
End |
2024-02-04T12:12:49
|
Participant |
Robert Cerny
|
Start |
2024-02-04T12:43:27
|
End |
2024-02-04T13:47:31
|
Participant |
Robert Cerny
|
Start |
2024-02-05T11:14:26
|
End |
2024-02-05T12:22:49
|
Participant |
Robert Cerny
|
Start |
2024-02-05T13:56:32
|
End |
2024-02-05T14:54:15
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.