fix bug for SQL query formatter
fix bug for no log file created in search client
ignore log files
when the collection is unsharded, all queries should be routed to the primary node
merge with ruizhang's work
Merge remote-tracking branch 'origin/d4-costmodel' into d4-cmu
Fixed some test bugs