Open damccull opened 1 year ago
Request executor is now set up to be created, stored in a HashMap in the DocumentStoreActor, and returned via a message. Sending a GetRequestExecutor message will cause the DocumenStoreActor to return one, if it already has oen, for the database supplied, or if no database was supplied, for the database name stored on DocumentStoreActor. It will return an error if no name was supplied and no name exists on the DocumentStoreActor.
Request executor should be built as an actor, allowing many to be created, and many handles per actor to be created and stored. See: https://github.com/ravendb/ravendb/blob/v5.4/src/Raven.Client/Documents/DocumentStore.cs#L162-L196