[SERVER-10591] Database is locked (or freezed) when database executes a Datafilesync Created: 21/Aug/13 Updated: 16/Nov/21 Resolved: 10/Jun/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 2.4.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | David Verdejo | Assignee: | Mark Benvenuto |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | datafilesync | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
rsaudit:PRIMARY> db.serverBuildInfo() |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Operating System: | Windows | ||||||||||||
| Steps To Reproduce: | See a DataFileSync on logs and try to make a db.test.find() |
||||||||||||
| Participants: | |||||||||||||
| Description |
|
When the database is executing a Datafilesync, I could see on logs that we have a increment in client connections to database. When datafilesync is finished, then the client connections drops to the baseline (see attached file). We see this pattern everytime that a datafilesync line is registered on the log. I made a test when Datafilesync was in action to recieve one document from a collection (db.test.findOne()), and it took about 10 seconds. I reviewed the following article: And check the following function serverIsLocked = function () { return false; But when I run this function, I always see that the server is not locked. |
| Comments |
| Comment by Thomas Rueckstiess [ 04/Apr/14 ] |
|
This was partially addressed by See also related tickets: |
| Comment by Daniel Pasette (Inactive) [ 24/Aug/13 ] |
|
Hi David, |