Skip to content
This repository was archived by the owner on Feb 21, 2019. It is now read-only.

Using bts uri scheme, receive "old database version, upgrade and re-sync" #1549

Open
roadscape opened this issue May 29, 2015 · 0 comments
Open

Comments

@roadscape
Copy link

I was trying to test BitShares login, but it wasn't working. I restarted the wallet and it strangely decided to re-index. Repeat 2x. During the following re-index I encountered exploding log files that filled up my drive, which caused the chain folder to be deleted.

So I take the following steps:

  1. Fix BTS wallet (re-dl chain, and re-index)
  2. Login successfully. Quit client.
  3. Launch client. Login successfully. Quit client.
  4. Use the 'BitShares Login' on faucet.bitshares.org. Client launches.
  5. "Reindexing database..." again!

I recall that the logs would report if BTS was launched via URI. I'm not seeing that this time.. all I get:

2015-05-29T22:22:15           bitshares:?               thread ] name:ntp tid:4640415744                        thread.cpp:95
2015-05-29T22:22:15     ntp:ntp_read_loop          request_now ] resolving... ["pool.ntp.org",123]                      ntp.cpp:77
2015-05-29T22:22:15           bitshares:?        open_database ] old database version, upgrade and re-sync                      chain_database.cpp:84
2015-05-29T22:22:15     ntp:ntp_read_loop          request_now ] sending request to 74.120.8.2:123                      ntp.cpp:81
2015-05-29T22:22:15     ntp:ntp_read_loop            read_loop ] received ntp reply from 74.120.8.2:123                 ntp.cpp:147
2015-05-29T22:22:15     ntp:ntp_read_loop            read_loop ] ntp offset: -5581, round_trip_delay 45927                      ntp.cpp:161
2015-05-29T22:22:15     ntp:ntp_read_loop            read_loop ] ntp_delta_time updated to -5581                        ntp.cpp:177
2015-05-29T22:22:17           bitshares:?        open_database ] old database version, upgrade and re-sync                      chain_database.cpp:84
2015-05-29T22:35:36           bitshares:?         extend_chain ] Recalculating supply for 40 assets                     chain_database.cpp:1035

At this point I suspect that logging in via URI scheme is triggering these database upgrades.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant