Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spring-data-mongo #36

Open
FS1360472174 opened this issue Jul 26, 2017 · 0 comments
Open

spring-data-mongo #36

FS1360472174 opened this issue Jul 26, 2017 · 0 comments

Comments

@FS1360472174
Copy link
Owner

FS1360472174 commented Jul 26, 2017

@Indexed(name = "ttl", background = true, expireAfterSeconds = EXPIRE_DAYS)
background 创建index,client仍然超时

Caused by: com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message
21:07:31 at com.mongodb.connection.InternalStreamConnection.translateReadException(InternalStreamConnection.java:474)
21:07:31 at com.mongodb.connection.InternalStreamConnection.receiveMessage(InternalStreamConnection.java:225)
21:07:31 at com.mongodb.connection.UsageTrackingInternalConnection.receiveMessage(UsageTrackingInternalConnection.java:102)
21:07:31 at com.mongodb.connection.DefaultConnectionPool$PooledConnection.receiveMessage(DefaultConnectionPool.java:435)
21:07:31 at com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:110)
21:07:31 at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:159)
21:07:31 at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:286)
21:07:31 at com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:173)
21:07:31 at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:215)
21:07:31 at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:198)
21:07:31 at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:170)
21:07:31 at com.mongodb.operation.CreateIndexesOperation$1.call(CreateIndexesOperation.java:116)
21:07:31 at com.mongodb.operation.CreateIndexesOperation$1.call(CreateIndexesOperation.java:111)
21:07:31 at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:230)
21:07:31 at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:221)
21:07:31 at com.mongodb.operation.CreateIndexesOperation.execute(CreateIndexesOperation.java:111)
21:07:31 at com.mongodb.operation.CreateIndexesOperation.execute(CreateIndexesOperation.java:66)
21:07:31 at com.mongodb.Mongo.execute(Mongo.java:781)
21:07:31 at com.mongodb.Mongo$2.execute(Mongo.java:764)
21:07:31 at com.mongodb.DBCollection.createIndex(DBCollection.java:1541)
21:07:31 at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.createIndex(MongoPersistentEntityIndexCreator.java:142)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant