Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

364
Vistas
WriteConcern detected an error cased by assertion in btree.cpp:390

When I am saving documents in monogdb, getting the following error:

WriteConcern detected an error 'insertDocument :: caused by :: 
0 assertion src\mongo\db\structure\btree\btree.cpp:390'. 

(Response was { 
    "ok" : 1, "code" : 8, "err" : "insertDocument :: caused by :: 0 
    assertion src\\mongo\\db\\structure\\btree\\btree.cpp:390", "n" : NumberLong(0) 
})

Any help please?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

It seems like the code is failing during verify() assertion call while adding a key into a bucket. This error should come with extra details in the log file such as:

btree bucket corrupt? consider reindexing or running validate command klast: X key: Y

which suggets that your btree bucket could be corrupted.

So consider repairing your database by:

mongod --repair --dbpath /path/to/data/db

then reindex if necessary.

Also make sure you've enough free space on your device and got the right read and write permissions. If this happens often, either it's a bug or fault of your storage device.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda