Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2338

drop() not removing all edge/meta properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4.5
    • Fix Version/s: 3.5.0, 3.4.6
    • Component/s: process
    • Labels:
      None

      Description

      From Gremlin Users:

      https://groups.google.com/d/msg/gremlin-users/wB0a9uP98Zw/zoZrNk8GFwAJ

      gremlin> g.E().property("myprop", true).iterate()
      gremlin> g.E().has("myprop").count().next()
      ==>6
      gremlin> g.E().properties("myprop").drop().iterate()
      gremlin> g.E().has("myprop").count().next()
      ==>5
      

      Obviously, all "myprop" should get removed. The issue has to do with property equality from:

      http://tinkerpop.apache.org/docs/3.4.5/upgrade/#_properties_equality

      and LazyBarrierStrategy which bulks and yields just one property for drop():

      gremlin> g.withoutStrategies(LazyBarrierStrategy).E().properties("myprop").drop()
      gremlin> g.E().has("myprop").count().next()
      ==>0
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette Stephen Mallette
                Reporter:
                spmallette Stephen Mallette
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: