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
The example about simple locking uses GETSET, which is supposed to be deprecated.
According to the GETSET doc page, it can be replaced with "SET with the GET argument when migrating or writing new code". Maybe update the SETNX doc to do it this way if it's backwards compatible?
The text was updated successfully, but these errors were encountered:
Thanks for noting and reporting - you are very correct, and I think the that right resolution at this stage is to include both the current approach (i.e. SET ... GET) as well as the deprecated GETSET (for older versions).
The text was updated successfully, but these errors were encountered: