[Bug 1366104] [NEW] [FFe] OperationError when large object greater than 2gb

Scott Kitterman ubuntu at kitterman.com
Thu Oct 2 03:03:47 UTC 2014


> Attached is the upstream issue and pull request.
> 
> https://github.com/psycopg/psycopg2/pull/259

Commentary from upstream in the pull request:

> I have fixed several issues in the lo64 branch. Haven't run the entire test
> grid yet (all supported Py and PG versions, 32 and 64 bits) but modulo
> small tweaks the branch should be ready for integration. However there is
> no chance it can be released in 2.4 or in 2.5 either. What added here is
> the support for an entirely new API, not a bugfix, and its integration has
> added new modes of failure.

Given upstream was unwilling to release this change as part of 2.5, I don't 
think we should override them.  pyscopg2 is widely used outside of MAAS with a 
diverse set of workloads that I don't think we can test.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to psycopg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1366104

Title:
  [FFe] OperationError when large object greater than 2gb

Status in MAAS:
  Fix Committed
Status in “psycopg2” package in Ubuntu:
  New

Bug description:
  If a large object is greater than 2gb then calls to seek and tell will
  fail with an OperationError. This is because of the use of lseek and
  ltell instead of the lseek64 and ltell64.

  This issue affects MAAS (or any other software) when trying to upload
  an object that is larger than 2GB. In the case of MAAS, it is
  uploading images that are larger than 2GB causing this to fail

  This has been tested in Ubuntu Trusty and Utopic:

  https://launchpad.net/~maas-
  maintainers/+archive/ubuntu/experimental?field.series_filter=utopic

  
  psycopg2 (2.5.3+dfsg-1ubuntu1) utopic; urgency=medium

    * debian/patches/99_allow_large_objects.patch: Allow large objects
      greater than 2GB. (LP: #1366104)
   -- Andres Rodriguez <andreserl at ubuntu.com>   Fri, 19 Sep 2014 12:30:26 -0500

  diff:
  https://launchpad.net/~maas-maintainers/+archive/ubuntu/experimental/+files/psycopg2_2.5.3%2Bdfsg-1_2.5.3%2Bdfsg-1ubuntu1~ppa1.diff.gz

  Attached is the upstream issue and pull request.
  https://github.com/psycopg/psycopg2/pull/259

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1366104/+subscriptions



More information about the foundations-bugs mailing list