$ docker run -d --name antidote -p "8087:8087" antidotedb/antidote
$ npm install
[...]
$ mkdir -p mnt
$ node src/antidote-fs.js -m ./mnt -a 127.0.0.1:8087
INIT: connInfo {"proto_major":7,"proto_minor":26,"async_read":1,"max_write":131072,"max_readahead":131072}
(node:1692) UnhandledPromiseRejectionWarning: Error: Antidote-PB Error code 0:
Error processing incoming message: error:{unknown_crdt_type_protobuf,9}:[{antidote_pb_codec,
decode_type,
1,
[{file,
"/usr/src/antidote/_build/default/lib/riak_pb/src/antidote_pb_codec.erl"},
{line,
317}]},
{antidote_pb_codec,
decode_bound_object,
1,
[{file,
"/usr/src/antidote/_build/default/lib/riak_pb/src/antidote_pb_codec.erl"},
{line,
162}]},
{lists,
map,
2,
[{file,
"lists.erl"},
{line,
1239}]},
{antidote_pb_txn,
process,
2,
[{file,
"/usr/src/antidote/_build/default/lib/antidote/src/antidote_pb_txn.erl"},
{line,
191}]},
{riak_api_pb_server,
process_message,
4,
[{file,
"/usr/src/antidote/_build/default/lib/riak_api/src/riak_api_pb_server.erl"},
{line,
388}]},
{riak_api_pb_server,
connected,
2,
[{file,
"/usr/src/antidote/_build/default/lib/riak_api/src/riak_api_pb_server.erl"},
{line,
226}]},
{riak_api_pb_server,
decode_buffer,
2,
[{file,
"/usr/src/antidote/_build/default/lib/riak_api/src/riak_api_pb_server.erl"},
{line,
364}]},
{gen_fsm,
handle_msg,
7,
[{file,
"gen_fsm.erl"},
{line,
451}]}]
at AntidoteConnection.handleError (/home/guillaume/Downloads/repo/antidote-fs/node_modules/antidote_ts_client/dist/antidoteConnection.js:104:34)
at AntidoteConnection.readMessagesFromBuffer (/home/guillaume/Downloads/repo/antidote-fs/node_modules/antidote_ts_client/dist/antidoteConnection.js:75:22)
at AntidoteConnection.onData (/home/guillaume/Downloads/repo/antidote-fs/node_modules/antidote_ts_client/dist/antidoteConnection.js:41:14)
at Socket.socket.on (/home/guillaume/Downloads/repo/antidote-fs/node_modules/antidote_ts_client/dist/antidoteConnection.js:22:46)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:607:20)
(node:1692) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1692) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
GETATTR: 1
Hi,
I am using antidote-fs from git revision c08e5d1 and the official antidote from docker image 480c4f761f61. Antidote's port is mapped to 8087 on the host. When I run antidote-fs, I get the following errors. Listing the mount directory stalls and never completes. Do you have a preliminary idea of what is wrong with this setup ?
Thanks