~eday/nova/pep8-fixes-db

  • Committer: Tarmac
  • Author(s): Michael Gundlach
  • Date: 2010-10-12 20:08:39 UTC
  • mfrom: (341.1.3 64-bit-internal-ids)
  • Revision ID: hudson@openstack.org-20101012200839-kirnf4q7bm2wif26
Change internal_id from a 32 bit int to a 64 bit int.

Specifically, generate internal_id as a random number in [0, 2^64).  SQLAlchemy has no built-in type for big integers, so the internal_id column is a PickleType, set to non-mutable to avoid performance penalties associated with mutable column types.  Under the hood, this is stored as a Binary.

In Austin+1 we'll probably be replacing internal_id with a string, but we need something bigger than 32 bits for Austin.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 1 14 years ago Jesse Andrews initial commit Diff
bzrplugins 254.1.1 13 years ago Soren Hansen Better log formatter for Nova. It's just like gnuc Diff
CA 1 14 years ago Jesse Andrews initial commit Diff
doc 157.3.1 13 years ago Monty Taylor Updated sphinx layout to a two-dir layout like swi Diff
nova 1 14 years ago Jesse Andrews initial commit Diff
plugins 145.3.2 13 years ago Ewan Mellor Move the xenapi top level directory under plugins, Diff
smoketests 139 13 years ago Soren Hansen Merge with -core's diverged trunk. Diff
tools 139 13 years ago Soren Hansen Merge with -core's diverged trunk. Diff
.bzrignore 186.1.1 13 years ago Monty Taylor Added ChangeLog generation. 39 bytes Diff Download File
.gitignore 182 13 years ago Tarmac Got the tree set for debian packaging. 125 bytes Diff Download File
File builddeb.sh 139 13 years ago Soren Hansen Merge with -core's diverged trunk. 787 bytes Diff Download File
HACKING 139.2.2 13 years ago Jesse Andrews reorder imports spacing 1.3 KB Diff Download File
LICENSE 1 14 years ago Jesse Andrews initial commit 9.9 KB Diff Download File
MANIFEST.in 186.1.1 13 years ago Monty Taylor Added ChangeLog generation. 699 bytes Diff Download File
pylintrc 267.2.16 13 years ago Cerberus Merge prop fixes and pylint/pep8 cleanup 812 bytes Diff Download File
README 157.1.1 13 years ago Monty Taylor Updated URLs in the README file to point to curren 836 bytes Diff Download File
run_tests.py 321.1.2 13 years ago Soren Hansen Run the virt tests by default. 4.2 KB Diff Download File
File run_tests.sh 293.1.1 13 years ago jaypipes at gmail Adds --force option to run_tests.sh to clear virtu 1.8 KB Diff Download File
setup.cfg 181.1.5 13 years ago Monty Taylor Updated setup.py file to install stuff on a python 135 bytes Diff Download File
setup.py 292.1.2 13 years ago Soren Hansen Install nova-scheduler. 2.1 KB Diff Download File