<nemosupremo>
I changed the CONCURRENCY var to 13, but left it 31 in the ab.to_state_partition function. I thought that was the reaosn why
<nemosupremo>
(line 43 in the gist I sent)
<nisanharamati>
oh
<nemosupremo>
but when fixing it I still got a segfault
<nemosupremo>
I have to go, I'll check the logs if you message on here. if you get a chance to check it out
nemosupremo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aturley has joined #wallaroo
<nisanharamati>
I can reproduce the segfault
<nisanharamati>
I need to go too, but I can investigate a bit more later or tomorrow morning
nemosupremo2 has joined #wallaroo
nemosupremo2 has quit [Client Quit]
<nisanharamati>
Nemo is out, so I commented in their gist, but to those following or interested: the segfault was happening because the return type of their `join` computation did not match that of a stateful computation. It was doing `return "xyz"`, which returns a list and works for `computation_multi`, but stateful computations require a second argument denoting whether or not to save a state update to the log, so the
<nisanharamati>
correct return type would be `return ("xyz", False)` or `return (list("xyz"), False)` (in this case, where state isn't persisted). It would be `return ("xyz", True)` where state should be persisted for recovery later.
N2_ has joined #wallaroo
N2_ has quit [Client Quit]
nemosupremo has joined #wallaroo
<nemosupremo>
Right! I forgot that detail. You need the Boolean if you want to persist state. I guess I wouldn’t have hit this issue if I was using Go. Thanks for helping me out even if the issue was minor
nemosupremo has quit [Ping timeout: 260 seconds]
puzza007 has quit [Quit: ZNC 1.7.x-nightly-20180102-d4ae3115 - https://znc.in]
puzza007 has joined #wallaroo
nemosupremo has joined #wallaroo
nisanharamati has quit [Quit: Connection closed for inactivity]
<nemosupremo>
Can I only define one serialize method in my application (the global one)?
<slfritchie>
nemosupremo: correct
nemosupremo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
strmpnk has quit [*.net *.split]
strmpnk has joined #wallaroo
strmpnk has quit [*.net *.split]
strmpnk has joined #wallaroo
nemosupremo has joined #wallaroo
nemosupremo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aturley has quit [Read error: Connection reset by peer]
aturley_ has joined #wallaroo
nemosupremo has joined #wallaroo
nemosupremo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nisanharamati has joined #wallaroo
nemosupremo has joined #wallaroo
nisanharamati has quit [Quit: Connection closed for inactivity]
aturley_ has quit [Quit: aturley_]
aturley has joined #wallaroo
nemosupremo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nemosupremo has joined #wallaroo
nemosupremo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nemosupremo has joined #wallaroo
nemosupremo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]