You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like both functions are not exception safe and cause issues later if the SG key data constructor fails with an exception. I believe that both operations should be able to roll back in case of an exception.
The text was updated successfully, but these errors were encountered:
There are two cases where data for a scheduling group key can be constructed:
create_scheduling_group
)scheduling_group_key_create
)In both cases, the SG key data constructor can fail. This is an example test for the second case:
Even though the constructor of
thrower
always throws, its destructor is called anyway:It looks like both functions are not exception safe and cause issues later if the SG key data constructor fails with an exception. I believe that both operations should be able to roll back in case of an exception.
The text was updated successfully, but these errors were encountered: