17 Sep, 2010

8 commits


20 Aug, 2010

4 commits


18 Aug, 2010

6 commits


03 Aug, 2010

4 commits


30 Jul, 2010

14 commits

  • …or searches may take a long time, especially subtree deletes and persistent searches).
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6559 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@6558 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@6556 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • There are 2 components:
    Index Filter Analyzer : Part of DatabaseEnvironmentProvider, it gathers search filter statistics and displays the index filter, number of hits, max matching entries, and a message. Compound filters are broken down to their basic elements. f an index was not utilized while evaluating the search filter, max matching entries will be -1 and a diagnostic message will be included. The monitor entry also includes when the analyzer was enabled along with the number of total index and unindexed searches processed. 
    
    Attribute Index Analysis, part of the dbtest tool. It cursors through all the indexes and finds the number of 100%, 95%, 90%, and 80% undefined index keys.  It also displays the value of the undefined keys along with the total number of keys in the index. The process is currently single threaded and might not scale to 10 mil+ DBs. However, this is currently unavoidable without the ability for JE to cursor through the records in log order.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6555 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • This is achieved by storing the specified hostname in a temporary file under cn=config, which will be used for generating the self-signed certificates and then deleted.
    If changing or deleting the self-signed certificates, the provided host name is lost and must be manually specified again.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6554 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • When low disk space is threshold is reached, the operation will abort and close the environment cleanly. All indexes will be left in the "untrusted" state so the user knows the DB is invalid. It will also print the appropriate message depending on which import phase when the threshold is reached: * phase 1 failure: import append + replace required to continue. * phase 2 failure: rebuildAll required to continue.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6553 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • …d. It was using the friendly name and not the actual name. Most of the time, the 2 names are the same, but for the ones that are not, the displayed command would be incorrect.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6552 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@6551 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • …ishment of the connection.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6550 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • …or exiting of disks full.
    
    Each instance of the monitor have two thresholds: "low" and "full". Other components can register their own handlers if they wish to receive notifications when the thresholds are reached. It extends the MonitorProvider interface and utilizes the update interval mechanism to poll the free disk space. The current free space and state of all monitor instances are exposed through the cn=monitor interface under the cn=Disk Space Monitor branch. The only component using the monitor now is the JE backend. When the "low" threshold is reached, write operations will only be permitted to users with the BYPASS_LOCKDOWN privilege. When the "full" threshold is reached, the backend is placed in read-only mode. The default "low" and "full" thresholds are 100 MB and 10MB respectively. Along with the new feature, this patch also added two privileges: SERVER_LOCKDOWN and BYPASS_LOCKDOWN. Any user with the SERVER_LOCKDOWN privilege can put and take the server out of lockdown mode. Any user with the BYPASS_LOCKDOWN mode can bypass lockdown mode. This was restricted to only "root" users before. In addition, the MonitorProvider abstract class no longer extends DirectoryThread. It now uses a static single threaded ScheduledExecutorService to update provider states. Any provider that wishes to have its state updated periodically needs to register its updater runnable with the scheduleUpdate method.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6549 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@6548 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • … LDIF files with low memory.
    In first phase write buffer positions to index files instead of storing in memory and suffering OOME due to O(N) memory growth. In second phase, read buffer positions from index files and fall-back to batch import of indexes when the number of buffers for an index would cause OOME if they were all opened at once. Also, improve second phase progress statistics to report batch count, kb remaining/rate, and fix several race conditions in the statistics.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6547 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • …rge rebuilds. The  DB cache size was being configured too late in the rebuild-index initialization and so the default cache size of 60% heap was being used, which caused memory budgeting failures.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6546 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     
  • … and AbsoluteSubtreeSpec.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6545 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     

05 Jul, 2010

4 commits