Historically, bilateral ties have been fraught with controversies. In the 1980s, the Tamil question dominated relations and more recently differences have sometimes erupted over poaching by fishermen and Sri Lanka's increasing dependence on China for investment.
But with a change in government in India and Sri Lanka last year, the ties in 2016 showed signs of maturity, breaking away from the past towards an era of synergy and understanding.
In November, Navy chief Admiral Sunil Lanba visited Colombo during which he attended the Galle Dialogue - a meeting of regional navies at the southern coastal city. The visit was aimed at consolidating bilateral maritime security relations amid an increasingly assertive China in the region.
The increasing dependence on China for investment and military aid curtailed Sri Lanka's ability to limit Beijing's influence in its economic and maritime policy. China has been keen to push its economic and infrastructure proposals to the Indian Ocean states.
More From This Section
During his visit to India in the first week of October, Prime Minister Ranil Wickremesinghe said Sri Lanka expected to sign an Economic and Technology Co-operation Agreement (ETCA) with India by the end of this year.
Wickremesinghe appeared keen to fast-track the ETCA, given the needs arising from Britain's decision to leave the 28- member European Union economic bloc. The ETCA advocates believe the pact was an imperative to mitigate the effects of Britain's exit from the EU.
Sri Lanka's Joint Opposition has said the agreement was an "appeasement" of India, ignoring the greater largesses from China.
Opposition legislator, Wimal Weerawansa, said: "With the ETCA, it looks as if the government is keen to help India solve its unemployment problem. They are creating one million jobs for the Indians."
Harsha de Silva, the deputy foreign minister, had said of
the opposition the ETCA: "It must be noted that Sri Lanka's exports to India have been rising in the past few years... Signing the ETCA would, therefore, strengthen bilateral trade between the two countries. Rejecting the agreement would undoubtedly affect this market."
Another area of concern in Indo-Lanka ties this year remained the complexities associated with the ongoing fishermen issue. The dispute has earlier escalated tension, and brings to the equation the issue of ceding Kachchatheevu to Sri Lanka by India in 1974.
Sri Lankans are averse to permit licensed Indian fishermen to fish within a "designated area" in their waters. "We are not in agreement with this," Fisheries Minister Mahinda Amaraweera has said.
It has been argued that moderates in Sri Lanka and India want a settlement and ensure the livelihood of fishermen are protected, yet the official response of both the governments to the fishermen's dialogue has been lukewarm.
Rajapaksa mentioned to reporters in Colombo the "tension" his administration encountered with India.
"They (India) were furious when (Chinese) submarines docked at Colombo. From what I know, the Chinese inform the Indian embassy in Beijing before a submarines enters the Indian Ocean. But they made a huge cry about it."
China was Rajapaksa's main international ally when it supported him at international fora and funded his mega development projects, mainly in his home district of Hambantota. Rajapaksa, during his two terms in office, was widely perceived as being close to Beijing.
The challenge for Sri Lanka, as earlier, is to establish a state of relative equilibrium in its relations with India and China.