geir / mongo-java-driver

XJDM : eXperimental Java Driver for Mongo

mongo-java-driver / notes.txt
100644 59 lines (34 sloc) 1.512 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
1) The object to pass to a mongo query should be of the form :
 
 {
     query : <BSONObject>,
     order : <array>
 }
 
 (unless a cmd)
 
2) Document all wierd things like count being done via a db eval (see JS code)
 
3) Need full multi-fetch trip support for Cursor. - done
 
4) implement fixed size fetches independent of limit!
 
4a) limit
 
6) You can create indexes if only the name is different - document that if the keys are the same, it won't be created
   either (https://10gen.fogbugz.com/default.asp?941). Dwight will fix
 
7) Document commands ("dropIndexes")
 
   dropDatabase (done)
   profile (done)
   count (done)
   create (done)
   clean (forgetit)
   drop (done)
   validate
   deleteIndexes
 
8) Put in singleton Cursor support so that when a new query is started on a connection, the previous cursor becomes
locked so that it can't do harm = no need, now does full wire read in mutex so there's never old crap on wire
 
9) ensure that last cursor is killed - done
 
10) Collections aren't created w/o an insert - so if you call count, and it doesn't exist...
 
11) implement DBCursor.count() that's safe
 
 
12) Reserved space : connect( "iad-sb-n2/intr" ).cursors.find();
 
13) note that there are no $ allowed in document fields (or .) - done (supported in MongoDoc, Selectory, Modifier)
 
14) ensure support paired mode - defer
 
14a) master/slave support
 
15) Capped collections - done
 
16) profile - done
 
17) Index stuff - done, I think
 
19) Initial extent on collection - done