So, I have some code running that updates a k,v pair. When I retrieve the data it’s properly updated, but if I cat the 000000.vlog file, it shows the historical entries, and the new entry. Is this expected behavior, is my code screwing up and adding multiple kv’s? An example:
,$@753E56AC-1AED-4A8F-81BF-DA6BBE1A1ACA��������{“Key”:“753E56AC-1AED-4A8F-81BF-DA6BBE1A1ACA”,“Tags”:{“check_in_time”:“1546535641”,“cpucount”:“4”,“docker0”:“172.17.0.1/16”,“enp0s3”:“10.10.13.67/24,fe80::a00:27ff:fedf:cb10/64”,“hostname”:“localhost.localdomain”,“lo”:“127.0.0.1/8,::1/128”,“memory”:“11760295936”,“virbr0”:“192.168.124.1/24”}}��V�!badger!txn��������13��,$@753E56AC-1AED-4A8F-81BF-DA6BBE1A1ACA��������{“Key”:“753E56AC-1AED-4A8F-81BF-DA6BBE1A1ACA”,“Tags”:{“check_in_time”:“1546536241”,“cpucount”:“4”,“docker0”:“172.17.0.1/16”,“enp0s3”:“10.10.13.67/24,fe80::a00:27ff:fedf:cb10/64”,“hostname”:“localhost.localdomain”,“lo”:“127.0.0.1/8,::1/128”,“memory”:“11760295936”,“virbr0”:“192.168.124.1/24”}}��d�!badger!txn��������2���,$@753E56AC-1AED-4A8F-81BF-DA6BBE1A1ACA��������{“Key”:“753E56AC-1AED-4A8F-81BF-DA6BBE1A1ACA”,“Tags”:{“check_in_time”:“1546536841”,“cpucount”:“4”,“docker0”:“172.17.0.1/16”,“enp0s3”:“10.10.13.67/24,fe80::a00:27ff:fedf:cb10/64”,“hostname”:“localhost.localdomain”,“lo”:“127.0.0.1/8,::1/128”,“memory”:“11760295936”,“virbr0”:“192.168.124.1/24”}}$�8M�!badger!txn��������3�j��