Skip to content

Incorrect quota calculation #10

Description

@ashish-kale

For a "shared" folder , the quota is increased many times.

  1. When the file is originally uploaded.
  2. When the file is synced by other clients.
    Thus , if the file which is shared is downloaded "N" times , the quota is increased in multiples of N+1's times the file size.

Also, the "quota_used_real" field in "user1" table is always 0. Is this expected behavior?

Also, getting follow error in logs:-
ERROR PostgresqlDAO:65 - org.postgresql.util.PSQLException: ERROR: value too long for type character varying(100)
ERROR Handler:603 - com.stacksync.syncservice.exceptions.dao.DAOException: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(100)
ERROR SyncServiceImp:117 - java.lang.NullPointerException

Can you please provide pointers to solve these errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions