[SERVER-74013] Create the Server abstraction for MongoDB gRPC service Created: 14/Feb/23  Updated: 29/Oct/23  Resolved: 18/May/23

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Patrick Freed
Resolution: Fixed Votes: 0
Labels: auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-76407 Separate lifetime management of gRPC ... Closed
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-03-20, Service Arch 2023-04-03, Service Arch 2023-04-17, Service Arch 2023-05-01, Service Arch 2023-05-15, Service Arch 2023-05-29
Participants:

 Description   

It provides a synchronous gRPC server that implements MongoDB gRPC Protocol and delegates threading to the gRPC core library. It wraps every incoming gRPC stream into an instance of IngressSession. The server provides the per-operation threading model, where threads allocated by the gRPC core library are used to receive, process, and respond to individual operations. A new configuration option settable at startup, will set an upper-bound on the number of threads allocated by the gRPC core library (similar to maxIncomingConnections for MongoRPC).



 Comments   
Comment by Githook User [ 15/May/23 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-74013 Capture thread number by value in ServerHandlesMultipleClients test (BF-28709)
Branch: master
https://github.com/mongodb/mongo/commit/c17b84f2aa49f511aca2833905544516e19928d1

Comment by xgen-buildbaron-user [ 13/May/23 ]

Ticket re-opened due to revert. search_auth began a consistent failure of src/mongo/db/modules/enterprise/jstests/search/text_search_index_commands.js

Comment by Githook User [ 13/May/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-74013 Capture thread number by value in ServerHandlesMultipleClients test (BF-28709)"

This reverts commit 169c22878eddfc299e5d200ba8a1344ce16fc439.
Branch: master
https://github.com/mongodb/mongo/commit/e317e92c9f1f530c35cb85fc698c3e8dfddd72d4

Comment by Githook User [ 12/May/23 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-74013 Capture thread number by value in ServerHandlesMultipleClients test (BF-28709)
Branch: master
https://github.com/mongodb/mongo/commit/169c22878eddfc299e5d200ba8a1344ce16fc439

Comment by Githook User [ 02/May/23 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-74013 Add tests for gRPC server and CommandService
Branch: master
https://github.com/mongodb/mongo/commit/57eae3a1e7bab72962f89ede3019d2e0b4527690

Comment by Githook User [ 27/Apr/23 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-74013 Create gRPC server abstraction
Branch: master
https://github.com/mongodb/mongo/commit/b557028797ec6474e3b6d9cf5db556ce47dcd68a

Generated at Thu Feb 08 06:26:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.