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

Logs don't report snapshot flag

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 12_01_17
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: