What exactly does Re-Indexing do?

I’m using logseq with Github on two mobile devices (android phone and tablet). When I do something on one device, the changes do not show up on the other one.
To circumvent this problem I used to log out and in again on the second device. Could I just use re-indexing as well to make the changes done on the other device visible, or could this lead to problems?