Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7756

Storage IPFS: GroupScan: detect malformed datasets when planning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Storage - Other
    • None

    Description

      The initial design of a Drill-queriable dataset on IPFS is a MerkleTree, where the leaf nodes contain the actual data, and the intermediate nodes record the hashes of the leaf nodes. Not all datasets in the wild are well-formed MerkleTrees, because IPFS allows arbitrary DAGs.

      The current implementation in IPFSGroupScan does not check if a dataset is well-formed, and if it contains recursive links, the planner will have no way to detect it and will loop forever.

      Attachments

        Activity

          People

            dbw9580 Bowen Ding
            dbw9580 Bowen Ding
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: