[SERVER-2353] doubt in replica sets Created: 13/Jan/11  Updated: 29/May/12  Resolved: 17/Mar/11

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

Type: Question Priority: Major - P3
Reporter: ramesh kumar seelam Assignee: Kristina Chodorow (Inactive)
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Centos 5.3


Attachments: Zip Archive mongodblogfiles.zip    
Participants:

 Description   

I am new to mongodb. I want to setup replica sets with
automatic sharding. i have done with that. but when i am trying to
insert data in primary server in test database, i could able to insert
document and able to update it.

the problem is that the data is not replicating on the test database
of secondary server. could anyone please help me out the issue. please
if you have set up replica sets with automatic sharding, please give
me the documents of that process.

also i am sending the replset log files of all 4 servers..

Thanks



 Comments   
Comment by Kristina Chodorow (Inactive) [ 17/Mar/11 ]

Please comment or re-open if you wish to continue debugging this.

Comment by ramesh kumar seelam [ 13/Jan/11 ]

will try it and get back to you, may be with screen shots.

Comment by Kristina Chodorow (Inactive) [ 13/Jan/11 ]

I am very confused. Can you please phrase this as:

"I ran this in the shell:

> <shell command(s)>

I expected to see <expected output> but instead it gave me:

<shell output>"

Data will sync immediately from primary to secondary.

Comment by ramesh kumar seelam [ 13/Jan/11 ]

yes all secondaries are in sync with primaries. I could not understand that when i am inserting data in test database of primary it should be reflected or replicated in secondary. but i am not able to see data in test database of secondary server . they are acting as individual servers.

I tried....

When i am trying to enable sharding on test database it is giving me error .. bad cmd
Is there any target that size should be reached to point and then it will sync then or immediately the data will sync from primary to secondary.

My requirement is to store files like audio and video files and the database should be redundant.

Thanks

Comment by Kristina Chodorow (Inactive) [ 13/Jan/11 ]

It looks like all of the secondaries are in sync with the primaries. What makes you think that they're not?

Generated at Thu Feb 08 02:59:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.