[CSHARP-875] Reimplement legacy API on top of New Core Created: 11/Dec/13  Updated: 02/Apr/15  Resolved: 23/Sep/14

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Type: Task Priority: Critical - P2
Reporter: Craig Wilson Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CSHARP-1013 Create new Core Library Closed
depends on CSHARP-1037 Port bulk write operations from 1.x t... Closed
Related
is related to CSHARP-936 Create and adopt a new Core Library Closed
Epic Link: Adopt Core Library

 Description   

As we have re-implemented all the connection logic, the existing driver needs to be refactored to use the new implementation.

Backwards compatibility will be important, but we will not sacrifice maintainability. For instance, MongoConnection is public, but it is highly unlikely anyone is using it. In this case, it will probably get deleted. However, MongoServer and MongoServerInstance are public and we know of a number of people utilizing them and therefore we will reimplement MongoServer and MongoServerInstance by wrapping the core concepts (ICluster and IServer respectively).



 Comments   
Comment by Githook User [ 29/Sep/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-875: Remove NotImplementedExceptions from legacy API, either by implementing or removing the method.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/3fe7fdf62e5510a70363e9aef50b0a3f17a5b3a2

Comment by Githook User [ 09/Sep/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-875: Move batch processing loop from InsertBatch to InsertOpcodeOperation.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/0da0c046aab7204f8cf48c352def1cf045b588a7

Comment by Githook User [ 26/Aug/14 ]

Author:

{u'name': u'rstam', u'email': u'robert@10gen.com'}

Message: CSHARP-875: Removed all code from high level driver that now belongs in Core and temporarily replaced it with NotImplementedExceptions.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/e1996accb577bc4eae2743ea8dfe644db19f364a

Generated at Wed Feb 07 21:38:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.