Sounds like
it is a good opportunity. the only thing is that you didn't get a raise, which made you a little be uncomfortable. Try to negotiate with the new company to get higher pay. But, even if you didn't get it, it is still a good move - in my opinion.