Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1073

Sequencing multiple files occasionally results in extra intermediate nodes being generated with other same-name-sibling indexes appended

    Details

      Description

      When sequencing multiple ddl files in rapid succession, the sequencers may produce extra intermediate nodes that have different same-name-siblings. Example: /sequenced/ddl/ddl[2] and /sequenced/ddl[2]. This is appearing on ddl files but may be occurring on other type of files. Two ddl files attached. This may not be causing problems but certainly is extra baggage in ModeShape. Below is the query results showing the extra nodes:

      /sequenced/ddl
      /sequenced/ddl/ddl
      /sequenced/ddl/ddl/create_procedure_statements.ddl
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements/SecondMax
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements/SecondMax/input
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements/find_root
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements/find_root/x
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements/remove_emp
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements/remove_emp/employee_id
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements/text_length
      /sequenced/ddl/ddl/create_procedure_statements.ddl/ddl:statements/text_length/a
      /sequenced/ddl/ddl/oracle_test_statements.ddl
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ALTER TABLESPACE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ALTER TABLESPACE[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ALTER TABLESPACE[3]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ALTER TRIGGER
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ALTER TYPE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ALTER TYPE[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ALTER TYPE[3]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ALTER VIEW
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ANALYZE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ANALYZE[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ANALYZE[3]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ASSOCIATE STATISTICS
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/AUDIT
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/AUDIT[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/AUDIT[3]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/AUDIT[4]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/COMMIT
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE CONTEXT
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE CONTROLFILE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE DATABASE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE DATABASE[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE DIRECTORY
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE DISKGROUP
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE INDEXTYPE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE JAVA
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE JAVA[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE LIBRARY
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE LIBRARY[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE OPERATOR
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE OR REPLACE DIRECTORY
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE OR REPLACE LIBRARY
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE OR REPLACE OUTLINE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE OUTLINE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/CREATE PUBLIC DATABASE
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ON
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/ON[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/SecondMax
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/SecondMax/input
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/address
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/all_customers
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/app_user1
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/app_user1[2]
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/countries
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/countries/CHECK_1
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/countries/duty_pct
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/countries/visa_needed
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/cust_orders
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/customers_dim
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/employees
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/employees.job_id
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/personnel
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/sidney
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/text_length
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/text_length/a
      /sequenced/ddl/ddl/oracle_test_statements.ddl/ddl:statements/unknownStatement
      /sequenced/ddl/ddl[2] <==== should not be here
      /sequenced/ddl[2] <==== should not be here

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhauch Randall Hauch
                  Reporter:
                  wgibson Warren Gibson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: