Open p3manas opened 4 years ago
@p3manas The index are needed for job search and all. Refer this
BTW, Why you need to turn-off.?
@arulrajnet Would be useful for us as well, trying to make quartz-mongo work with CosmosDB, but getting: Caused by: com.mongodb.MongoCommandException: Command failed with error 67 (CannotCreateIndex): 'Cannot create unique index when collection contains documents' on server cdb-ms-prod-centralus1-cm1.documents.azure.com:10255. The full response is {"ok": 0.0, "errmsg": "Cannot create unique index when collection contains documents", "code": 67, "codeName": "CannotCreateIndex"}
CosmosDB won't allow unique index creation when collection contains documents: https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb-indexing#unique-indexes
Would be nice to turn off the index creation and create them manually.
@rvilike Got it.
@michaelklishin we can catch and log that as warning instead of throwing SchedulerConfigException . Your thoughts on this?
any news on this issue? would be really cool to have this working along cosmosDB.
@jadermoraes this is open source software. You are welcome to submit a PR. I no longer maintain or use this project.
any update on this?
this is open source software. You are welcome to submit a PR. I no longer maintain or use this project
still stands.
Currently in code creating index is automatic.
Could you please suggest is there any way to turn off auto creation of index.