Hi devs:

     Using RocksDB, when key and namespace both have variable binary length, to 
prevent [key, namespace] have equal binary number, we add key length and 
namespace length after key and namespace respectively. Then the format is:
    Keygroup – key -keyLength– namespace-namespaceLenth
        
     Then what about we use a fixed length key and variable length namespace 
and userkey. In current implement, I found the binary key format is as below:

       Keygroup – key – namespace- userkey

Think about following situation, I think we may get the same value for 
different [namespace, userkey]. or I get something wrong?

Keygroup      key   namespace      userkey
    1                 1          11                  1
 1              1         1                11


从 Windows 版邮件发送

Reply via email to