At the bottom of this email is a contrived example of something I was
able to do in 1.8.2, but results in a RuntimeError with either 1.8.3
Essentially, I’m registering a service with a ring “in-process”. Can
someone please tell me whether this should work in 1.8.4 (i.e. a bug),
or how I must restructure it in order to upgrade?
When run with 1.8.4, I get the following trace after a 5s timeout:
lookup_ring_any': RingNotFound (RuntimeError) from /usr/local/lib/ruby/1.8/rinda/ring.rb:109:infinger’
primary' from /usr/local/lib/ruby/1.8/rinda/ring.rb:241:inprovide’
But 1.8.2 has no issues whatsoever.
Thanks for your help,
========= BEGIN SAMPLE CODE =========
ts = Rinda::TupleSpace.new
server = Rinda::RingServer.new(ts)
provider = Rinda::RingProvider.new :Whatever, Object.new, ‘Whatever’
========== END SAMPLE CODE ==========