A stochastic differential equation arising from the vortex problem