Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Richard Littauer
    @RichardLitt
    What version?
    Everyone: OrbitDB Community Call in 20 minutes! :) orbitdb/welcome#85
    Richard Littauer
    @RichardLitt
    Thanks for coming! The chat is not over. A short one today. :) Notes coming to the GitHub repo. For now, you can see them here: https://hackmd.io/SUt9DuY6RS6SzDEP_Nud0w?both
    shamb0t
    @shamb0t
    Hey @phillmac def sounds like a problem, which versions of OrbitDB and ipfs are you using? Care to open an issue with your config info?
    phillmac
    @phillmac
    Version in the feat/open-event branch... So should be pretty close to master afaik
    Rebased a few days ago after the release
    Seems like ipfs went and lost the manifest
    Ipfs Dag get was spitting 404 errors
    Ysing latest go-ipfs
    Restarted all the peers and got some updates but I think its gotten stuck again...
    Ipfs dag get might have been a seperate peoblem / red hering
    Mark Robert Henderson
    @aphelionz
    @phillmac we're having similar issues with anything greater than IPFS 0.36.4... might be related but unsure as of yet
    phillmac
    @phillmac
    Same problem seems to exist on a js-ipfs node as well
    phillmac
    @phillmac
    I'll drink some coffee then set about trying to create a sensible issue
    the js ipfs node spits a lot of errors like (node:8736) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'C:\Users\ContainerUser\.jsipfs\blocks\2P\AFYREIF6Y3JS7FQLOSQI6QMZRBPNH4LWQE5U3FGJQAY3MYDIXPBQO7Z2PA.data'
    p.s. that one's a windows node the other 3 are linux
    SO my best guess is this might even be a failure at the ipfs level?
    phillmac
    @phillmac
    Contrariwise, ipfs dag get <head hash> seems to work just fine when i run it manually
    shamb0t
    @shamb0t
    @phillmac that looks like an issue with finding data locally
    phillmac
    @phillmac
    yeah it is. no clue what causes it however
    Haad
    @haadcode
    @phillmac try rebasing on master as 0.23.0 was just released by @shamb0t. an issue with replication was fixed just yesterday in orbit-db, 0.23.0 contains the fix.
    phillmac
    @phillmac
    cool, I'll try that
    Haad
    @haadcode
    PSA: orbit-db@0.23.0 was just released! :tada: :rocket: see the release notes https://github.com/orbitdb/orbit-db/blob/master/CHANGELOG.md#v0230. albeit light on details, 0.23.0 brings massive performance improvements to loading the databases (our benchmarks show roughly 2-3x faster loading times).
    phillmac
    @phillmac
    does that include any updates in orbit-db-store? if so I'll rebase that too
    Haad
    @haadcode
    yup
    phillmac
    @phillmac
    I mean, that is if the wet string that is my internet will let me do a git pull
    shamb0t
    @shamb0t
    @phillmac yes there are updates in the stores, ipfs-log, orbit-db-keystore and orbit-db-identity-provider
    :laughing:
    anders
    @tabcat
    🚀🚀🚀
    phillmac
    @phillmac
    Compressing objects: 100% (68/68), done.
    client_loop: send disconnect: Connection reset by peer
    fatal: sha1 file '<stdout>' write error: Broken pipes/s
    fatal: the remote end hung up unexpectedly
    fatal: the remote end hung up unexpectedly
    nope not allowed to work today
    Haad
    @haadcode
    the computer says no...
    phillmac
    @phillmac
    :cry:
    matrixbot
    @matrixbot
    tobowers (Discord) can the oplog be garbage collected in orbitdb?
    shamb0t
    @shamb0t
    The content isnt pinned by default so you will lose data if you trigger garbage collection, there's an experimental pin option exposed to pin the data when added but it majorly degrades performance atm. I'd recommend pinning the hashes in oplog.values separately if you'd like to trigger gc
    matrixbot
    @matrixbot
    tobowers (Discord) I guess my real question is: is the database an ever growing object or can we keep it to current state and a little history
    Sm03leBr00t
    @Sm03leBr00t
    I noticed the orbit p2p todo mvc app is not up to date?
    matrixbot
    @matrixbot
    tobowers (Discord) interesting - so in the browser orbitdb seems to work really well - I was able to connect instantly from my coworking space wifi desktop to my mobile-data phone
    tobowers (Discord) but... doing a really simple nodejs instance, the browser can't seem to find it
    matrixbot
    @matrixbot
    tobowers (Discord) fwiw: I'm trying to open a db created here: https://ipfs.io/ipfs/QmeESXh9wPib8Xz7hdRzHuYLDuEUgkYTSuujZ2phQfvznQ/ from nodejs
    tobowers (Discord) and vice-versa
    Mark Robert Henderson
    @aphelionz
    @tobowers how many peers does node have?
    matrixbot
    @matrixbot
    tobowers (Discord) also I made sure I could connect to the browser peer using swarm connect
    Mark Robert Henderson
    @aphelionz
    If the two preta can't see and pubsub with each other, it very likely won't work
    matrixbot
    @matrixbot
    tobowers (Discord) oh... it looks like maybe a version mismatch
    tobowers (Discord) i spun up my own web page and it was able to connect
    tobowers (Discord) just not anything from this page: https://ipfs.io/ipfs/QmeESXh9wPib8Xz7hdRzHuYLDuEUgkYTSuujZ2phQfvznQ/
    tobowers (Discord) (which is the "example 1" from the homepage)
    Mark Robert Henderson
    @aphelionz
    ohhh ok yeah we need to update those...