Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3873

Logs don't report snapshot flag

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None

      I've been trying to force snapshot query using ModelName.limit(100).snapshot.each, but I'm not sure it's actually working. Logs don't mention anything about the added query option.

      MOPED: 127.0.0.1:27017 QUERY        database=mpt_development collection=samples selector={"$query"=>{}, "$explain"=>true} flags=[] limit=-100 skip=0 batch_size=nil fields=nil runtime: 0.4430ms
      

      It would be nice to at least confirm that moped sees the flag.

      P.S. Sorry about initially posting an empty ticket - I've accidentally hit Enter key on the subject field and github just decided to post issue with empty body.

            Assignee:
            Unassigned Unassigned
            Reporter:
            amw Adam Wróbel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: