arunoda / meteor-cluster

Smarter way to run cluster of meteor nodes
http://meteorhacks.com/meteor-cluster-introduction-and-how-it-works.html
100 stars 12 forks source link

Not working in latest 0.6.5 meteor #3

Open ciokan opened 11 years ago

ciokan commented 11 years ago

I get this error after upgrading:

W20130815-05:53:23.000(3)? (STDERR) /home/manfred/.meteor/tools/4010e5731d/lib/nodemodules/fibers/future.js:173 W20130815-05:53:23.001(3)? (STDERR) throw(ex); W20130815-05:53:23.002(3)? (STDERR) ^ W20130815-05:53:23.006(3)? (STDERR) ReferenceError: Random is not defined W20130815-05:53:23.006(3)? (STDERR) at new Cluster (packages/cluster/lib/cluster.js:3) W20130815-05:53:23.006(3)? (STDERR) at Package (packages/cluster/lib/cluster.js:133) W20130815-05:53:23.006(3)? (STDERR) at packages/cluster.js:233:4 W20130815-05:53:23.007(3)? (STDERR) at packages/cluster.js:240:3 W20130815-05:53:23.007(3)? (STDERR) at mains (/home/manfred/Dropbox/Projects/heroico/.meteor/local/build/programs/server/boot.js:153:10) W20130815-05:53:23.007(3)? (STDERR) at Array.forEach (native) W20130815-05:53:23.007(3)? (STDERR) at Function..each._.forEach (/home/manfred/.meteor/tools/4010e5731d/lib/node_modules/underscore/underscore.js:79:11) W20130815-05:53:23.008(3)? (STDERR) at /home/manfred/Dropbox/Projects/heroico/.meteor/local/build/programs/server/boot.js:80:5

arunoda commented 11 years ago

Try version 0.1.7

ciokan commented 11 years ago

Excellent, thank you. I will be switching to smart collections most probably but I can't find a provider that plays ball with oplog.

arunoda commented 11 years ago

Yes. That's the kind a sad. I'm working on something nice. Stay alert :)

On Thu, Aug 15, 2013 at 10:54 AM, Romeo Mihalcea notifications@github.comwrote:

Excellent, thank you. I will be switching to smart collections most probably but I can't find a provider that plays ball with oplog.

— Reply to this email directly or view it on GitHubhttps://github.com/arunoda/meteor-cluster/issues/3#issuecomment-22685837 .

Arunoda Susiripala

@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda

ciokan commented 11 years ago

Here's an answer from ObjectRocket. Dun't know if it's enough for smart collections to work though:

We do have the oplog activated on all of our instances as our infrastructure is sharded by default, and MongoDB uses the oplog for replication among replica sets.

That said, as our instances are sharded access is provided only through mongos servers, which cannot see the local database, and we do not provide admin access to our instances.

arunoda commented 11 years ago

Since they don't provide access for local database, SC can't work.

On Thu, Aug 15, 2013 at 11:35 AM, Romeo Mihalcea notifications@github.comwrote:

Here's an answer from ObjectRocket. Dun't know if it's enough for smart collections to work though:

*We do have the oplog activated on all of our instances as our infrastructure is sharded by default, and MongoDB uses the oplog for replication among replica sets.

That said, as our instances are sharded access is provided only through mongos servers, which cannot see the local database, and we do not provide admin access to our instances.*

— Reply to this email directly or view it on GitHubhttps://github.com/arunoda/meteor-cluster/issues/3#issuecomment-22686792 .

Arunoda Susiripala

@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda