Menu

#81 Profile of bulk load doesn't work

open
3
2012-09-14
2011-10-21
No

The query like:

profile load "test.xml" "test"&

is not handled properly in current client/server protocol. It returns:

SEDNA Message: ERROR SE3008
Unknown message from server.
Details: Unknown message recieved while executing statement

and corrupts protocol state (any other transaction will fail in this session).

Reason:

Any query which is not update sends se_QuerySucceded message before actual execution. Since "profile load ..." is not update (update could not return result) it's handled like query and sends se_QuerySucceded; then it sends se_BulkLoad that is not expected from non-update query.

Workaround:

Don't use "profile load". Anyway, it doesn't make a lot of sense to profile it with current profile implementaion.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB