Invading a sovereign country is not something to cheer or take lightly. When Sri Lanka was going through the war India had enough reasons to overthrow Sri Lanka ( They were almost about to ) back in 1980s.
Using the same argument as Putin, India can invade and annex Sri Lanka right now. They can easily justify ruling party is a far right pohottu cult with the support of all the racist groups that undermine minorities.
Best is to follow the official Sri Lankan stand if you live in Sri lanka, not taking either side. Every Ukrainian soldier has a Ceylon tea bag in their ration pack and we do business with Russia as well.
Personally, as I live in a different part of the world, considering what UN stands for, I take the side of Ukraine.