Comments (2)
after almost a day of debgging, i was able to fix it by:
proms.push(dataAccessAdapter.ConnectToDb(
dbName
).command({ collStats: collection.name })
.then((stats) => {
collection.stats = {
count: stats.count,
size: stats.totalSize
};
}));
from mongo-gui.
i have up-to 75 collections in a database.
executing db.collection.stats() simultaneously at Promise.all for this amount of collections causes mongodb to crash and exit
changing to db.command({ collStats: collection.name })
fixes it
although this issue doesn't occur if you have 0 - 50 collections
db.collection.stats() has also been deprecated and removed
from mongo-gui.
Related Issues (20)
- Beautify JSON option to the editor while inserting a document
- Upgrade the npm packages and mongo db to support for node 18.14.2
- Add url params to url to directly link to documents HOT 1
- Dockerhub version does not have export to CSV HOT 1
- hide connection string password from logs HOT 1
- allow for a static name parameter that displays at the top of each page HOT 1
- CORS issue when trying to run the application from source code HOT 2
- Multiple databases
- Why is the admin table always empty ?
- Pagination size changer HOT 1
- Unauthorized Access Vulnerability in Default Configuration
- Maybe dumb question where does the .env file live HOT 3
- version 0.0.20 broken HOT 8
- .env proper guide
- is there a way to use this library in my own express middleware instead of starting from the terminal HOT 1
- Documentation .env credentials seems to be wrong HOT 2
- Error: ENOENT HOT 1
- Minimist <=1.2.5 is vulnerable to CVE-2021-44906 and should be upgraded to 1.2.6
- Feature request: Built in basic auth HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongo-gui.