how did he revolution in Russia affect the war