Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for failovers (0.12 seconds)

  1. cmd/erasure-coding.go

    		for _, conf := range testConfigs {
    			failOnErr := func(err error) {
    				if err != nil {
    					logger.Fatal(errSelfTestFailure, "%v: error on self-test [d:%d,p:%d]: %v. Unsafe to start server.\n", algo, conf[0], conf[1], err)
    				}
    			}
    			e, err := NewErasure(context.Background(), int(conf[0]), int(conf[1]), blockSizeV2)
    			failOnErr(err)
    			encoded, err := e.EncodeData(GlobalContext, testData[:])
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. cmd/xl-storage-format-v2_test.go

    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    
    	failOnErr(xl.AddVersion(fi))
    
    	fi.VersionID = mustGetUUID()
    	fi.DataDir = mustGetUUID()
    	fi.Data = data2
    	failOnErr(xl.AddVersion(fi))
    
    	serialized, err := xl.AppendTo(nil)
    	failOnErr(err)
    	// Roundtrip data
    	var xl2 xlMetaV2
    	failOnErr(xl2.Load(serialized))
    
    	// We should have one data entry
    	list, err := xl2.data.list()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessClient.java

    /**
     * SMB Witness Protocol client implementation as defined in MS-SWN specification.
     * Manages witness registrations, notifications, and heartbeats for cluster failover support.
     */
    public class WitnessClient implements AutoCloseable {
        private static final Logger log = LoggerFactory.getLogger(WitnessClient.class);
    
        // Polling and backoff constants (in ms)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/Configuration.java

         * @return whether to enforce the use of secure negotiation.
         */
        boolean isRequireSecureNegotiate();
    
        /**
         * Enable port 139 failover
         *
         * Property {@code jcifs.smb.client.port139.enabled} (boolean, default false)
         *
         * @return whether to failover to legacy transport on port 139
         */
        boolean isPort139FailoverEnabled();
    
        /**
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean forceExtendedSecurity = false;
        /** Whether to negotiate only SMB2 or higher protocols */
        protected boolean smb2OnlyNegotiation = false;
        /** Whether to failover to port 139 if port 445 fails */
        protected boolean port139FailoverEnabled = false;
        /** Whether to use NT SMB operations */
        protected boolean useNTSmbs = true;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            poolSpy.logon(ctx, address);
    
            // Then: Should connect to IPC$ share
            verify(tree).connectLogon(ctx);
        }
    
        @Test
        @DisplayName("Should sort addresses by fail count and failover")
        void testFailoverWithFailCounts() throws Exception {
            // Given: Multiple addresses with different fail counts
            Address addr1 = mock(Address.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

            /** Round-robin distribution */
            ROUND_ROBIN,
            /** Least connections */
            LEAST_CONNECTIONS,
            /** Random selection */
            RANDOM,
            /** Failover only (use primary until failure) */
            FAILOVER_ONLY
        }
    
        /**
         * Represents a group of channels for a single session.
         */
        public static class ChannelGroup {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                    setSessionSetup(response);
    
                    // Initialize multi-channel after successful session setup
                    initializeMultiChannel();
    
                    // Initialize witness support for fast failover
                    initializeWitnessSupport();
    
                    if (ex != null) {
                        throw ex;
                    }
                    return (T) (response != null ? response.getNextResponse() : null);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top