You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "aleksraiden (via GitHub)" <gi...@apache.org> on 2023/03/01 16:23:44 UTC

[GitHub] [incubator-kvrocks] aleksraiden opened a new issue, #1294: Perform HSETNX with multiple values, just like HSET

aleksraiden opened a new issue, #1294:
URL: https://github.com/apache/incubator-kvrocks/issues/1294

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/issues) and found no similar issues.
   
   
   ### Motivation
   
   With HSET we can add a multiple key/field at once. But HSETNX, that's insert value only if they does not yet exist, use only one key/field pair at once. 
   
   Could we changed HSETNX for usage with multiple values? 
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] aleksraiden commented on issue #1294: Perform HSETNX with multiple values, just like HSET

Posted by "aleksraiden (via GitHub)" <gi...@apache.org>.
aleksraiden commented on issue #1294:
URL: https://github.com/apache/incubator-kvrocks/issues/1294#issuecomment-1450434733

   This needs for use HSET as append-only storage and optimize performance


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] git-hulk commented on issue #1294: Perform HSETNX with multiple values, just like HSET

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk commented on issue #1294:
URL: https://github.com/apache/incubator-kvrocks/issues/1294#issuecomment-1455477244

   It looks like this is a good feature, to see if @torwig or someone else would like to handle this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] aleksraiden commented on issue #1294: Perform HSETNX with multiple values, just like HSET

Posted by "aleksraiden (via GitHub)" <gi...@apache.org>.
aleksraiden commented on issue #1294:
URL: https://github.com/apache/incubator-kvrocks/issues/1294#issuecomment-1450725369

   So, a command will return a count fields (integer replay), that are added to the hash-map or 0, if no data inserted.
   
   @torwig could you provide a PR if this feature can be added? Lot of thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice closed issue #1294: Perform HSETNX with multiple values, just like HSET

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
PragmaTwice closed issue #1294: Perform HSETNX with multiple values, just like HSET
URL: https://github.com/apache/incubator-kvrocks/issues/1294


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] torwig commented on issue #1294: Perform HSETNX with multiple values, just like HSET

Posted by "torwig (via GitHub)" <gi...@apache.org>.
torwig commented on issue #1294:
URL: https://github.com/apache/incubator-kvrocks/issues/1294#issuecomment-1455652042

   @git-hulk Sure, I can implement this feature.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] git-hulk commented on issue #1294: Perform HSETNX with multiple values, just like HSET

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk commented on issue #1294:
URL: https://github.com/apache/incubator-kvrocks/issues/1294#issuecomment-1455741639

   Thanks @torwig 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org