[SERVER-11076] we have an monogdb sharded cluster.we have some queries which should be run from java.we tried to use db.eval() in java its working well for single node,but as said its not working for sharded clusters.Is there any alternative to run mongoscript from java Created: 08/Oct/13  Updated: 08/Oct/13  Resolved: 08/Oct/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: musunuru hemanth vijay Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

centos


Issue Links:
Duplicate
duplicates SERVER-5731 db.eval() for sharding collections Closed
Participants:

 Description   

we have an monogdb sharded cluster.we have some queries which should be run from java.we tried to use db.eval() in java its working well for single node,but as said its not working for sharded clusters.Is there any alternative to run mongoscript from java



 Comments   
Comment by Scott Hernandez (Inactive) [ 08/Oct/13 ]

I have linked to the feature request you are interested for future reference.

In general I would suggest against using db.eval(). Please first see if you can run the code directly from java (or any other client).

It is best to ask these kinds of questions on the forum (https://groups.google.com/group/mongodb-user) where there is a larger community involvement and similar questions already have answers. This project is meant for feature requests and filing bugs.

When you do post to the forum, please include an example of the javascript you want to run, and an explanation of why you need to run it on the server if you can't do so from your client (app).

Generated at Thu Feb 08 03:24:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.