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
ConfigShell always initialization new Console object.
However, the lockfile need to be opened before requesting flock.
At this time, an exception may occur and need to be output to the console.
Currently, ConfigShell always initializes a new Console object.
So, ConfigShell is initialized first to be able to print information.
The prefs.bin file will be loaded when ConfigShell is initialized.
In this case, the old value may be read, if a new preference is being set and not saved.
Even worse, if this is also a setting command, the previous setting will be rolled back.
The text was updated successfully, but these errors were encountered:
zoumingzhe
added a commit
to zoumingzhe/configshell-fb
that referenced
this issue
Oct 22, 2021
Setting preference maybe rollback when execute multiple targetcli requests concurrently.
Please see open-iscsi/targetcli-fb#188 for details.
In order to solve this problem we must first initialize a Console object.
Signed-off-by: Zou Mingzhe <[email protected]>
zoumingzhe
added a commit
to zoumingzhe/configshell-fb
that referenced
this issue
Oct 22, 2021
Setting preference maybe rollback when execute multiple targetcli requests concurrently.
Please see open-iscsi/targetcli-fb#188 for details.
In order to solve this problem we must first initialize a Console object.
Signed-off-by: Zou Mingzhe <[email protected]>
ConfigShell always initialization new Console object.
However, the lockfile need to be opened before requesting flock.
At this time, an exception may occur and need to be output to the console.
Currently, ConfigShell always initializes a new Console object.
So, ConfigShell is initialized first to be able to print information.
The prefs.bin file will be loaded when ConfigShell is initialized.
In this case, the old value may be read, if a new preference is being set and not saved.
Even worse, if this is also a setting command, the previous setting will be rolled back.
The text was updated successfully, but these errors were encountered: