<schema-info>java=voldemort.client.protocol.pb.VProto</schema-info>
</value-serializer>
<hinted-handoff-strategy>consistent-handoff</hinted-handoff-strategy>
</store>
</stores>
but i'm thinking now I probably just need to use a string for both to make it easy so have changed them back and have updated the store name to check test wasn't being strange
<stores>
<store>
<name>test</name>
<persistence>bdb</persistence>
<description>Test store</description>
<routing-strategy>consistent-routing</routing-strategy>
<routing>server</routing>
<replication-factor>1</replication-factor>
<required-reads>1</required-reads>
<required-writes>1</required-writes>
<key-serializer>
<type>string</type>
</key-serializer>
<value-serializer>
<type>string</type>
</value-serializer>
<hinted-handoff-strategy>consistent-handoff</hinted-handoff-strategy>
</store>
</stores>
Looking at Voldemort starting - it seems to have created that store
[17:10:11,838 voldemort.server.storage.StorageService] INFO Opening store 'mat' (bdb). [main]
[17:10:11,838 voldemort.store.bdb.BdbStorageConfiguration] INFO Creating BDB data directory '/data/servers/voldemort-release-1.6.0-cutoff/config/radar_node_cluster/data/bdb/mat. [main]
[17:10:11,863 voldemort.store.bdb.BdbStorageConfiguration] INFO Creating environment for mat: [main]
[17:10:11,863 voldemort.store.bdb.BdbStorageConfiguration] INFO BDB cache size = 1073741824 [main]
[17:10:11,863 voldemort.store.bdb.BdbStorageConfiguration] INFO BDB je.cleaner.threads = 1 [main]
[17:10:11,863 voldemort.store.bdb.BdbStorageConfiguration] INFO BDB je.cleaner.minUtilization = 50 [main]
[17:10:11,863 voldemort.store.bdb.BdbStorageConfiguration] INFO BDB je.cleaner.minFileUtilization = 0 [main]
[17:10:11,863 voldemort.store.bdb.BdbStorageConfiguration] INFO BDB je.log.fileMax = 62914560 [main]
[17:10:11,864 voldemort.store.bdb.BdbStorageConfiguration] INFO BDB allowCreate=true,cacheSize=1073741824,txnNoSync=false,txnWriteNoSync=false,{je.tree.maxDelta=100, je.cleaner.bytesInterval=31457280, je.maxMemory=1073741824, je.cleaner.adjustUtilization=false, je.log.faultReadSize=2048, je.env.isTransactional=true, je.cleaner.maxBatchFiles=0, je.cleaner.minUtilization=50, je.tree.binDelta=75, je.cleaner.fetchObsoleteSize=true, je.cleaner.lookAheadCacheSize=8192, je.lock.nLockTables=7, je.cleaner.threads=1, je.log.iteratorReadSize=8192, je.lock.timeout=500 MILLISECONDS, je.checkpointer.wakeupInterval=30000000, je.checkpointer.highPriority=false, je.checkpointer.bytesInterval=209715200, je.cleaner.lazyMigration=false, je.cleaner.minFileUtilization=0, je.txn.durability=NO_SYNC,NO_SYNC,SIMPLE_MAJORITY, je.sharedCache=true, je.env.fairLatches=false, je.log.fileMax=62914560}, [main]
Using the cli it works nicely
Established connection to mat via tcp://localhost:6666/
> put "hello" "world"
> get "hello"
version(0:1) ts:1403194298444: "world"
Then using my go client - it seems to be serializing with the correct values, but still comes back with - Unknown store ''.
:type:GET should_route:true store:"mat" get:<key:"hello" >
My client is making a struct from the go protobuf code that I created from the .proto files in the code, and with strings for keys and values I'm assuming that should work?
Is that the only information going?
I've used the Ruby client as a model to build some of the Go stuff but it seems i'm not quite there yet!
Gonna get wireshark out now, and just make sure what I think is being sent over the wire is actually what's happening!
I'll get back when i've confirmed that.
I'll sort out a blog post or example repo once i've got it sorted as I think Go and Voldemort is gonna be a killer app :)
Thanks,
Mat