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
An insert() returns an integer, representing the amount of contention (the number of retries) that was encountered when inserting a prefix+metadata in a store, together with an Error.
But insert() is actually an upsert operation: it either creates a new (prefix, metadata) entry in the store, or it replaces the metadata on an existing entry with the metadata in the meta argument.
It would be useful to return what was actually happened in the store on insert, an insert of a new prefix or the modification of the metadata of the prefix.
The text was updated successfully, but these errors were encountered:
An
insert()
returns an integer, representing the amount of contention (the number of retries) that was encountered when inserting a prefix+metadata in a store, together with an Error.But
insert()
is actually anupsert
operation: it either creates a new (prefix, metadata) entry in the store, or it replaces the metadata on an existing entry with the metadata in themeta
argument.It would be useful to return what was actually happened in the store on insert, an insert of a new prefix or the modification of the metadata of the prefix.
The text was updated successfully, but these errors were encountered: