I was thinking that fermenting produces the co2 and pushes the oxygen out, keeping a more sterile environment. So in general, I was thinking it would be good to rack to secondary with a little fermentation left, to push air out.
If I wait till no bubbles, will there still be co2 filling air space?