Hi,
Is there any intention of providing this traceability without having
to change application code? I think having this info directly in mongo
would be the most appropriate place, mongos knows where the connection
is coming from and what it is asking, this could be reported in
db.currentOp() as the connection id.
I see the point of adding a comment in the code, but having that info
in mongo seems the right place and helps in situation where for
example you might have to allow many people to run custom manual
queries or when you are investigating unauthorised access.
S
> --
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to
mongod...@googlegroups.com
> To unsubscribe from this group, send email to
>
mongodb-user...@googlegroups.com
> See also the IRC channel --
freenode.net#mongodb
>
> ---
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mongodb-user...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.