[SERVER-21727] period lose properties of document while the property is temporary add for update Created: 02/Dec/15 Updated: 04/Dec/15 Resolved: 04/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 3.0.5 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | pengrongxin | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
I have a document named of job,the as collection name is also job,the another collection named with autoSelectedJob,the data is read from job and save to by springdata on Every 5 minutes,so the autoSelectedJob collection data is all the same with job, I have a temporary function that need add a top property,this time the job class one:login in we mongodb server,exec the command of "db.job.update({},{$set:{"top":0}},false,true)", two:modify job class add the top property and get set method three:redeploy the new application did after all this, We found The following strange problems: the top property in collection of autoSelectedJob is period lose,some time exist in autoSelectedJob,some time is not exist while the task run three ,but all other properties of job is all exist,we mongo is a repset,i looked at primary the data is follow:
after run three the task,the top property is not exist :
after run three the task,the top property is again exist:
|
| Comments |
| Comment by Ramon Fernandez Marina [ 04/Dec/15 ] |
|
Now worries pengrongxin, and thanks for the update. We're closing this ticket. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. See also our Technical Support page for additional support resources. Regards, |
| Comment by pengrongxin [ 04/Dec/15 ] |
|
sorry ,we found the root cause of this problem ,we have author node deploy the application ,but code is not update,so a long time the application is not the top property i am sorry! |
| Comment by pengrongxin [ 02/Dec/15 ] |
|
I did follow test: |