Feature #1733

Check/fix node statistics

Added by Antony Chazapis over 12 years ago. Updated over 11 years ago.

Status:New Start date:12/05/2011
Priority:Medium Due date:
Assignee:- % Done:

0%

Category:Pithos Spent time: -
Target version:-

Description

There have been reports for wrong object counts/bytes. We need a script (a backend function?) that will check for such problems and fix if necessary.

Associated revisions

Revision de793207
Added by Antony Chazapis over 12 years ago

Initial SQL to calculate statistics.

Refs #1733

Revision de793207
Added by Antony Chazapis over 12 years ago

Initial SQL to calculate statistics.

Refs #1733

Revision 2bdc9dc4
Added by Antony Chazapis over 12 years ago

More SQL for calculating statistics.

Refs #1733

Revision 2bdc9dc4
Added by Antony Chazapis over 12 years ago

More SQL for calculating statistics.

Refs #1733

Revision 0a92ff85
Added by Sofia Papagiannaki over 11 years ago

Fix pithos purging accounting

Refs: #3442
Refs: #1733

Pithos has two different version accounting
policies:
  • free: do not include object history version size
    to the total account usage
  • debit: include object history version size to
    the total account usage
    This configurable by
    PITHOS_BACKEND_FREE_VERSIONING setting.

Pithos delete container function purges
the history versions of the including objects.
and should send to the quota holder component
the released disk space only
in the case of debit version accounting policy.

Also the purging function used to return
the negative of the computed released disk space
but to the quotaholder component was sent
its negative.
So, erroneously, the released disk space was
added to the total quota usage.

Provide tests for the following distinct cases:
  • free version accounting policy (PITHOS_BACKEND_FREE_VERSIONING=True)
    and `auto` container versioning policy
  • free version accounting policy
    (PITHOS_BACKEND_FREE_VERSIONING=True)
    and `none` container versioning policy
  • debit version accounting policy
    (PITHOS_BACKEND_FREE_VERSIONING=False)
    and `auto` container versioning policy
  • debit version accounting policy(PITHOS_BACKEND_FREE_VERSIONING=False)
    and `none` container versioning policy

History

#1 Updated by Antony Chazapis over 12 years ago

  • Target version changed from 0.8.2 to 0.8.3

#2 Updated by Antony Chazapis over 12 years ago

  • Target version changed from 0.8.3 to 1.0.0

#3 Updated by Antony Chazapis over 12 years ago

  • Target version changed from 1.0.0 to 0.9.4

#4 Updated by Antony Chazapis over 12 years ago

  • Target version changed from 0.9.4 to 0.9.5

#5 Updated by Sofia Papagiannaki about 12 years ago

  • Target version changed from 0.9.5 to 0.9.7

#6 Updated by Sofia Papagiannaki about 12 years ago

  • Target version changed from 0.9.7 to 0.9.8

#7 Updated by Sofia Papagiannaki about 12 years ago

  • Target version changed from 0.9.8 to 0.10.0

#8 Updated by Sofia Papagiannaki about 12 years ago

  • Target version changed from 0.10.0 to 0.10.2

#9 Updated by Vangelis Koukis over 11 years ago

  • Project changed from Pithos to Synnefo
  • Target version deleted (0.10.2)

#10 Updated by Vangelis Koukis over 11 years ago

  • Category set to Pithos

Also available in: Atom PDF