Skip to content
Snippets Groups Projects
Select Git revision
  • d90417129d8809a7f46aca9b11cb0b92c08e56f5
  • master default protected
  • ia2
  • adql2.1-ia2
  • private_rows
5 results

VOTableFormat.java

Blame
    • gmantele's avatar
      d9041712
      [TAP & UWS] 2 MAJOR BUGS FIXED (these bugs were affecting performances). · d9041712
      gmantele authored
      1) [TAP & UWS] ]MAJOR BUG FIX: The abortion of an SQL query is now correctly
      implemented. Before this fix, 2 mistakes prevented this clean abortion:
        a/ The thread was not cancelled because the SQL query execution was
      blocking the thread. Then the thread could not treat the interruption though
      it was flagged as interrupted.
        b/ The function UWSJob.isStopped() considered the job as stopped because
      the interrupted flag was set, even though the thread was still processing
      (and the database too). Because of that it returned true and the job phase
      was ABORTED though the thread was still running.
        NOW:
        a/ TAPJob calls the function Statement.cancel() (if supported) in order
      to cancel the SQL query execution properly inside the database.
        b/ The function UWSJob.isStopped() does not test any more the interrupted flag
      and returns true only if the thread is really stopped.
        IN BRIEF: It is now sure that a job in the phase ABORTED is really stopped
      (that's to say: thread stopped AND DB query execution stopped).
      
      2) [TAP] BUG FIX: When the writing of a result is abnormaly interrupted for any
      reason, the file which was being written is deleted.
      d9041712
      History
      [TAP & UWS] 2 MAJOR BUGS FIXED (these bugs were affecting performances).
      gmantele authored
      1) [TAP & UWS] ]MAJOR BUG FIX: The abortion of an SQL query is now correctly
      implemented. Before this fix, 2 mistakes prevented this clean abortion:
        a/ The thread was not cancelled because the SQL query execution was
      blocking the thread. Then the thread could not treat the interruption though
      it was flagged as interrupted.
        b/ The function UWSJob.isStopped() considered the job as stopped because
      the interrupted flag was set, even though the thread was still processing
      (and the database too). Because of that it returned true and the job phase
      was ABORTED though the thread was still running.
        NOW:
        a/ TAPJob calls the function Statement.cancel() (if supported) in order
      to cancel the SQL query execution properly inside the database.
        b/ The function UWSJob.isStopped() does not test any more the interrupted flag
      and returns true only if the thread is really stopped.
        IN BRIEF: It is now sure that a job in the phase ABORTED is really stopped
      (that's to say: thread stopped AND DB query execution stopped).
      
      2) [TAP] BUG FIX: When the writing of a result is abnormaly interrupted for any
      reason, the file which was being written is deleted.
    setup.py 618 B
    # coding: utf-8
    
    import sys
    from setuptools import setup, find_packages
    
    NAME = "Ale"
    VERSION = "0.6.0"
    
    # To install the library, run the following
    #
    # python setup.py install
    #
    # prerequisite: setuptools
    # http://pypi.python.org/pypi/setuptools
    
    setup(
        name=NAME,
        version=VERSION,
        description="Abstraction Layer for Ephemerides",
        author="USGS ASC Development Team",
        author_email="",
        url="",
        keywords=[""],
        packages=find_packages(),
        long_description="""\
        An Abstraction library for reading, writing and computing ephemeris data
        """,
        package_data={'': ['config.yml']}
    )