Mongo shell stops after sending function to create background index

I use mongo to get to my Ubuntu mongo shell. After sending the function db.collection.createIndex({ joinedAt: 1 }, { background: true }) my mongo shell just stops working/responding.

Open another session and check the log
or use this
db.currentOp() to check the progress

1 Like